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.001101/0.001102, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001361/0.001361, allocations: 177.3 kB / 15.95 MB, free: 216 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.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6702, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.163/0.8332, allocations: 140.3 MB / 1.091 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.8523, allocations: 14.2 MB / 1.104 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.8544, allocations: 27.81 kB / 1.105 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.8559, allocations: 342 kB / 1.105 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.8605, allocations: 1.343 MB / 1.106 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.8635, allocations: 1.105 MB / 1.107 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.8666, allocations: 1.596 MB / 1.109 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.8689, allocations: 1.507 MB / 1.11 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.8707, allocations: 0.9342 MB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.8718, allocations: 0.7242 MB / 1.112 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.8719, allocations: 52 kB / 1.112 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.8743, allocations: 0.9985 MB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005775/0.8749, allocations: 0.5684 MB / 1.113 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.8754, allocations: 416.4 kB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003347/0.8787, allocations: 2.634 MB / 1.116 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8788, allocations: 0 / 1.116 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8788, allocations: 7.938 kB / 1.116 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.947e-05/0.8788, allocations: 0 / 1.116 GB, free: 8.945 MB / 0.8731 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.004625/0.8835, allocations: 2.452 MB / 1.119 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.8835, allocations: 8.031 kB / 1.119 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003774/0.8839, allocations: 248.9 kB / 1.119 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/0.8877, allocations: 0.5861 MB / 1.12 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.8922, allocations: 3.321 MB / 1.123 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.8924, allocations: 135.4 kB / 1.123 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.8926, allocations: 164 kB / 1.123 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003298/0.8959, allocations: 1.937 MB / 1.125 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.8959, allocations: 7.875 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.8961, allocations: 76 kB / 1.125 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.8961, allocations: 43.98 kB / 1.125 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/0.8998, allocations: 2.12 MB / 1.127 GB, free: 13.67 MB / 0.8887 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.01082/0.9106, allocations: 6.397 MB / 1.134 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.9141, allocations: 1.887 MB / 1.135 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.9143, allocations: 77.22 kB / 1.135 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.9161, allocations: 1.009 MB / 1.136 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.9161, allocations: 0 / 1.136 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=146): time 0.007662/0.9238, allocations: 3.007 MB / 1.139 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.924, allocations: 205.2 kB / 1.14 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/0.9298, allocations: 4.075 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004457/0.9303, allocations: 65.7 kB / 1.144 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/0.9311, allocations: 0.9023 MB / 1.144 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005631/0.9317, allocations: 485 kB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.9318, allocations: 24 kB / 1.145 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.932, allocations: 349.9 kB / 1.145 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.9332, allocations: 0.5843 MB / 1.146 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.9346, allocations: 0.7969 MB / 1.147 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.936, allocations: 0.67 MB / 1.147 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.936, allocations: 0 / 1.147 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004108/0.9401, allocations: 1.791 MB / 1.149 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.9402, allocations: 7.953 kB / 1.149 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.9402, allocations: 0 / 1.149 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.9413, allocations: 216.1 kB / 1.149 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.943, allocations: 331.6 kB / 1.15 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/0.9493, allocations: 6.856 MB / 1.156 GB, free: 14.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.9512, allocations: 193.9 kB / 1.156 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.9513, allocations: 55.91 kB / 1.156 GB, free: 14.5 MB / 0.92 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.001067/0.9524, allocations: 493.4 kB / 1.157 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.9527, allocations: 197.6 kB / 1.157 GB, free: 13.81 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/0.9574, allocations: 2.173 MB / 1.159 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.9574, allocations: 16 kB / 1.159 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9574, allocations: 3.953 kB / 1.159 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.9575, allocations: 7.969 kB / 1.159 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007221/0.9647, allocations: 3.966 MB / 1.163 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.9647, allocations: 4 kB / 1.163 GB, free: 7.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.9663, allocations: 331.8 kB / 1.163 GB, free: 7.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/0.9672, allocations: 220.3 kB / 1.164 GB, free: 6.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.9674, allocations: 39.97 kB / 1.164 GB, free: 6.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/0.9734, allocations: 6.89 MB / 1.17 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9735, allocations: 4 kB / 1.17 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/0.9781, allocations: 2.216 MB / 1.173 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.9795, allocations: 0.5331 MB / 1.173 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/0.9799, allocations: 35.95 kB / 1.173 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.9814, allocations: 150 kB / 1.173 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.9817, allocations: 125.1 kB / 1.173 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.9819, allocations: 75.94 kB / 1.174 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003472/0.9854, allocations: 3.129 MB / 1.177 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9854, allocations: 4 kB / 1.177 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002301/0.9877, allocations: 0.6664 MB / 1.177 GB, free: 8.305 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.006141/0.9939, allocations: 3.935 MB / 1.181 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003564/0.9975, allocations: 2.074 MB / 1.183 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.9975, allocations: 4.797 kB / 1.183 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.9997, allocations: 1.442 MB / 1.185 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.002, allocations: 487.7 kB / 1.185 GB, free: 352 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03267/1.035, allocations: 19.89 MB / 1.204 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.036, allocations: 1.585 MB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002176/1.038, allocations: 0.5287 MB / 1.206 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.04, allocations: 0.8975 MB / 1.207 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of SimCode: time 7.51e-07/1.04, allocations: 0 / 1.207 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5084/1.548, allocations: 48.68 MB / 1.255 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.548, allocations: 268.8 kB / 1.255 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.063/4.611, allocations: 0.5 kB / 1.255 GB, free: 275.4 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