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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001013/0.001013, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007717/0.007717, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5225, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.166/0.6885, allocations: 162.7 MB / 1.114 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02095/0.7095, allocations: 17.02 MB / 1.131 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.7108, allocations: 27.81 kB / 1.131 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.7122, allocations: 453.2 kB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.7166, allocations: 1.518 MB / 1.133 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.7198, allocations: 1.261 MB / 1.134 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003234/0.723, allocations: 2.907 MB / 1.137 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.7255, allocations: 1.733 MB / 1.138 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/0.7301, allocations: 1.081 MB / 1.139 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.7314, allocations: 0.8744 MB / 1.14 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.7317, allocations: 52 kB / 1.14 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.7344, allocations: 1.513 MB / 1.142 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005333/0.735, allocations: 0.607 MB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009801/0.736, allocations: 1.026 MB / 1.143 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/0.7396, allocations: 3.472 MB / 1.147 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7396, allocations: 0 / 1.147 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7396, allocations: 0 / 1.147 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.612e-05/0.7396, allocations: 0 / 1.147 GB, free: 10.36 MB / 0.9044 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.004139/0.7438, allocations: 2.436 MB / 1.149 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7438, allocations: 8.031 kB / 1.149 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003085/0.7441, allocations: 252.8 kB / 1.149 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.7479, allocations: 0.5822 MB / 1.15 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003814/0.7517, allocations: 3.398 MB / 1.153 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/0.7518, allocations: 131.4 kB / 1.153 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.752, allocations: 172 kB / 1.154 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.7554, allocations: 1.96 MB / 1.156 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.7555, allocations: 4 kB / 1.156 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.7557, allocations: 72 kB / 1.156 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.7557, allocations: 47.98 kB / 1.156 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.7594, allocations: 2.128 MB / 1.158 GB, free: 15 MB / 0.92 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.009067/0.7685, allocations: 6.409 MB / 1.164 GB, free: 8.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.772, allocations: 2.148 MB / 1.166 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.7734, allocations: 0.7802 MB / 1.167 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/0.774, allocations: 429.6 kB / 1.167 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/0.7758, allocations: 1.021 MB / 1.168 GB, free: 3.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.266e-06/0.7758, allocations: 0 / 1.168 GB, free: 3.805 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007094/0.7829, allocations: 3.031 MB / 1.171 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.783, allocations: 197.2 kB / 1.171 GB, free: 432 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/0.7877, allocations: 4.106 MB / 1.175 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.7879, allocations: 61.64 kB / 1.175 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/0.7887, allocations: 0.8985 MB / 1.176 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004218/0.7891, allocations: 488.9 kB / 1.177 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.7893, allocations: 101.7 kB / 1.177 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7894, allocations: 353.9 kB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.7906, allocations: 0.5882 MB / 1.178 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.792, allocations: 0.8204 MB / 1.179 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.7945, allocations: 1.353 MB / 1.18 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7946, allocations: 0 / 1.18 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004059/0.7986, allocations: 1.822 MB / 1.182 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7987, allocations: 8 kB / 1.182 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7987, allocations: 0 / 1.182 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.7998, allocations: 212.1 kB / 1.182 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.8014, allocations: 339.6 kB / 1.182 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/0.8071, allocations: 6.818 MB / 1.189 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8086, allocations: 191.8 kB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.8088, allocations: 55.95 kB / 1.189 GB, free: 13.41 MB / 0.9512 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008768/0.8097, allocations: 493.3 kB / 1.19 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.81, allocations: 189.7 kB / 1.19 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.8148, allocations: 2.181 MB / 1.192 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8149, allocations: 24.08 kB / 1.192 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8149, allocations: 0 / 1.192 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.8149, allocations: 7.969 kB / 1.192 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.8219, allocations: 4.163 MB / 1.196 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.8219, allocations: 3.938 kB / 1.196 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.8234, allocations: 327.6 kB / 1.196 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009906/0.8244, allocations: 208.1 kB / 1.197 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.8245, allocations: 43.97 kB / 1.197 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/0.8301, allocations: 6.854 MB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8301, allocations: 0 / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.8342, allocations: 2.046 MB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008829/0.8351, allocations: 0.5253 MB / 1.206 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/0.8354, allocations: 32 kB / 1.206 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.8369, allocations: 155.5 kB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.8372, allocations: 121.1 kB / 1.206 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.8373, allocations: 67.95 kB / 1.206 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003301/0.8406, allocations: 3.145 MB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8407, allocations: 4 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00166/0.8423, allocations: 0.6665 MB / 1.21 GB, free: 7.344 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005932/0.8483, allocations: 3.245 MB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.8518, allocations: 2.09 MB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.8518, allocations: 8.547 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.854, allocations: 1.438 MB / 1.217 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.8565, allocations: 0.5103 MB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03741/0.8939, allocations: 23.74 MB / 1.24 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.8954, allocations: 1.545 MB / 1.242 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002037/0.8974, allocations: 0.5287 MB / 1.242 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.8987, allocations: 0.9014 MB / 1.243 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.8987, allocations: 3.938 kB / 1.243 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5131/1.412, allocations: 45.81 MB / 1.288 GB, free: 259 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.412, allocations: 292.5 kB / 1.288 GB, free: 258.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.658, allocations: 4 kB / 1.288 GB, free: 258.6 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/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) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches