Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 92.23 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003187, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7003, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1731/0.8734, allocations: 151.8 MB / 1.102 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.8963, allocations: 15.96 MB / 1.118 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.8977, allocations: 27.81 kB / 1.118 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.8993, allocations: 377.3 kB / 1.118 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.9036, allocations: 1.33 MB / 1.119 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.9069, allocations: 1.113 MB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00364/0.9106, allocations: 2.579 MB / 1.123 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.9131, allocations: 1.503 MB / 1.124 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.9154, allocations: 1.004 MB / 1.125 GB, free: 36 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.9171, allocations: 0.8515 MB / 1.126 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/0.9175, allocations: 52 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.9201, allocations: 1.014 MB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008111/0.921, allocations: 0.5995 MB / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007031/0.9217, allocations: 420.4 kB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.9253, allocations: 2.654 MB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9253, allocations: 0 / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9253, allocations: 0 / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001329/0.9254, allocations: 0 / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005412/0.9309, allocations: 2.444 MB / 1.133 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.9309, allocations: 12.03 kB / 1.133 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006331/0.9315, allocations: 248.9 kB / 1.133 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003784/0.9353, allocations: 0.586 MB / 1.134 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.9404, allocations: 3.329 MB / 1.137 GB, free: 3.691 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.9406, allocations: 127.4 kB / 1.137 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.9411, allocations: 168 kB / 1.138 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/0.9453, allocations: 1.956 MB / 1.139 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.9453, allocations: 0 / 1.139 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.9456, allocations: 79.98 kB / 1.14 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.9456, allocations: 43.94 kB / 1.14 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/0.9495, allocations: 2.124 MB / 1.142 GB, free: 15.14 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/0.9601, allocations: 6.408 MB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.9636, allocations: 2.134 MB / 1.15 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.9651, allocations: 0.7725 MB / 1.151 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.9658, allocations: 433.6 kB / 1.151 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.9676, allocations: 1.021 MB / 1.152 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.357e-06/0.9676, allocations: 0 / 1.152 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.006977/0.9746, allocations: 3.028 MB / 1.155 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9747, allocations: 201.2 kB / 1.155 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/0.9801, allocations: 4.083 MB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.9803, allocations: 61.7 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009048/0.9812, allocations: 0.8946 MB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.9818, allocations: 481 kB / 1.161 GB, free: 11.03 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.9819, allocations: 24 kB / 1.161 GB, free: 11.01 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.9821, allocations: 353.9 kB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.9833, allocations: 0.5882 MB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.9848, allocations: 0.8177 MB / 1.162 GB, free: 9.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.9861, allocations: 0.6661 MB / 1.163 GB, free: 8.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.9861, allocations: 0 / 1.163 GB, free: 8.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004098/0.9902, allocations: 1.807 MB / 1.165 GB, free: 6.691 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.9903, allocations: 11.95 kB / 1.165 GB, free: 6.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.9903, allocations: 0 / 1.165 GB, free: 6.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.9913, allocations: 212.2 kB / 1.165 GB, free: 6.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.9929, allocations: 331.5 kB / 1.165 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006452/0.9993, allocations: 6.815 MB / 1.172 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.001, allocations: 192.7 kB / 1.172 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/1.001, allocations: 51.97 kB / 1.172 GB, free: 14.41 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001077/1.002, allocations: 489.4 kB / 1.173 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/1.003, allocations: 197.6 kB / 1.173 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/1.008, allocations: 2.181 MB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.008, allocations: 12 kB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/1.008, allocations: 7.953 kB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.008, allocations: 7.969 kB / 1.175 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008813/1.017, allocations: 4.158 MB / 1.179 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.017, allocations: 0 / 1.179 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.018, allocations: 319.6 kB / 1.179 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009238/1.019, allocations: 212.1 kB / 1.18 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.019, allocations: 43.95 kB / 1.18 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/1.025, allocations: 6.843 MB / 1.186 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.025, allocations: 0 / 1.186 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/1.03, allocations: 2.034 MB / 1.188 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.031, allocations: 0.5253 MB / 1.189 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/1.031, allocations: 32 kB / 1.189 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.033, allocations: 150.8 kB / 1.189 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/1.033, allocations: 117.1 kB / 1.189 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.033, allocations: 75.94 kB / 1.189 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003775/1.037, allocations: 3.133 MB / 1.192 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1.037, allocations: 0 / 1.192 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002123/1.039, allocations: 0.6625 MB / 1.193 GB, free: 8.398 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006192/1.045, allocations: 3.241 MB / 1.196 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003587/1.049, allocations: 2.082 MB / 1.198 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.049, allocations: 4.547 kB / 1.198 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/1.051, allocations: 1.43 MB / 1.2 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.053, allocations: 0.4924 MB / 1.2 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/1.086, allocations: 19.61 MB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.087, allocations: 1.533 MB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002867/1.09, allocations: 0.5326 MB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.092, allocations: 0.8858 MB / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of SimCode: time 8.82e-07/1.092, allocations: 4 kB / 1.222 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5621/1.654, allocations: 48.69 MB / 1.27 GB, free: 271 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/1.654, allocations: 274 kB / 1.27 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.661, allocations: 0 / 1.27 GB, free: 270.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat does not exist to compare? outputFormat=mat