Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 211.6 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.684/2.684, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 68.84 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.193/0.5095, allocations: 148.3 MB / 1.427 GB, free: 7.609 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.5334, allocations: 16.22 MB / 1.443 GB, free: 7.348 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.5348, allocations: 43.62 kB / 1.443 GB, free: 7.305 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.5365, allocations: 0.57 MB / 1.444 GB, free: 6.73 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.5421, allocations: 1.837 MB / 1.446 GB, free: 4.891 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.5461, allocations: 1.47 MB / 1.447 GB, free: 3.434 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00416/0.5502, allocations: 2.926 MB / 1.45 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.5526, allocations: 1.575 MB / 1.451 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004584/0.5572, allocations: 1.523 MB / 1.453 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.559, allocations: 1.058 MB / 1.454 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003905/0.5593, allocations: 224 kB / 1.454 GB, free: 12.11 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.5625, allocations: 1.458 MB / 1.456 GB, free: 10.64 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000849/0.5634, allocations: 0.8217 MB / 1.456 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.5647, allocations: 1.054 MB / 1.457 GB, free: 8.762 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005741/0.5704, allocations: 3.825 MB / 1.461 GB, free: 4.922 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.742e-05/0.5705, allocations: 4 kB / 1.461 GB, free: 4.918 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5705, allocations: 0 / 1.461 GB, free: 4.918 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.571e-05/0.5705, allocations: 0 / 1.461 GB, free: 4.918 MB / 1.154 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.005634/0.5762, allocations: 2.984 MB / 1.464 GB, free: 1.887 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5762, allocations: 8.031 kB / 1.464 GB, free: 1.879 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003202/0.5765, allocations: 244.9 kB / 1.464 GB, free: 1.629 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/0.581, allocations: 0.6345 MB / 1.465 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.5858, allocations: 3.382 MB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.5859, allocations: 123.4 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.5862, allocations: 172 kB / 1.469 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00431/0.5905, allocations: 2.709 MB / 1.471 GB, free: 10.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.5905, allocations: 7.938 kB / 1.471 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.5907, allocations: 83.98 kB / 1.471 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.5907, allocations: 40 kB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.5946, allocations: 2.062 MB / 1.473 GB, free: 8.145 MB / 1.17 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.01001/0.6046, allocations: 5.12 MB / 1.478 GB, free: 2.938 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.6082, allocations: 1.736 MB / 1.48 GB, free: 1.199 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.6096, allocations: 0.7182 MB / 1.481 GB, free: 488 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.61, allocations: 117.2 kB / 1.481 GB, free: 372 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/0.6123, allocations: 1.623 MB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.607e-06/0.6123, allocations: 4 kB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007227/0.6195, allocations: 2.64 MB / 1.485 GB, free: 11.91 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.6197, allocations: 197.2 kB / 1.485 GB, free: 11.67 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005333/0.625, allocations: 4.127 MB / 1.489 GB, free: 7.543 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.6253, allocations: 57.7 kB / 1.489 GB, free: 7.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/0.6262, allocations: 0.9195 MB / 1.49 GB, free: 6.551 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.6268, allocations: 0.4957 MB / 1.491 GB, free: 6.051 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/0.6272, allocations: 238.8 kB / 1.491 GB, free: 5.809 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.6274, allocations: 353.9 kB / 1.491 GB, free: 5.457 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.6287, allocations: 0.5804 MB / 1.492 GB, free: 4.879 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.6304, allocations: 1.239 MB / 1.493 GB, free: 3.469 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.633, allocations: 1.333 MB / 1.494 GB, free: 2.125 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.633, allocations: 3.938 kB / 1.494 GB, free: 2.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004453/0.6375, allocations: 1.812 MB / 1.496 GB, free: 292 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6375, allocations: 14.17 kB / 1.496 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6375, allocations: 0 / 1.496 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.6386, allocations: 204.2 kB / 1.496 GB, free: 60 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.6403, allocations: 335.5 kB / 1.497 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.6469, allocations: 6.786 MB / 1.503 GB, free: 8.363 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.6485, allocations: 167.2 kB / 1.503 GB, free: 8.199 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.6486, allocations: 51.95 kB / 1.503 GB, free: 8.148 MB / 1.201 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.001023/0.6497, allocations: 489.4 kB / 1.504 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/0.6501, allocations: 214.7 kB / 1.504 GB, free: 7.449 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.6549, allocations: 2.154 MB / 1.506 GB, free: 5.27 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.6549, allocations: 16 kB / 1.506 GB, free: 5.254 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6549, allocations: 4 kB / 1.506 GB, free: 5.25 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.6549, allocations: 11.97 kB / 1.506 GB, free: 5.238 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007875/0.6628, allocations: 3.848 MB / 1.51 GB, free: 1.324 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6628, allocations: 3.938 kB / 1.51 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.6643, allocations: 319.6 kB / 1.51 GB, free: 1.008 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009199/0.6653, allocations: 200.1 kB / 1.511 GB, free: 0.7969 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.6654, allocations: 43.95 kB / 1.511 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/0.672, allocations: 6.824 MB / 1.517 GB, free: 9.352 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.672, allocations: 4 kB / 1.517 GB, free: 9.348 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/0.6769, allocations: 2.041 MB / 1.519 GB, free: 7.273 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.6784, allocations: 462 kB / 1.52 GB, free: 6.82 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.6786, allocations: 32 kB / 1.52 GB, free: 6.789 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.68, allocations: 110.8 kB / 1.52 GB, free: 6.684 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.6802, allocations: 125 kB / 1.52 GB, free: 6.559 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.6804, allocations: 71.95 kB / 1.52 GB, free: 6.488 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003793/0.6842, allocations: 3.169 MB / 1.523 GB, free: 3.328 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6842, allocations: 0 / 1.523 GB, free: 3.328 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002075/0.6863, allocations: 0.6937 MB / 1.524 GB, free: 2.633 MB / 1.217 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.007218/0.6935, allocations: 3.264 MB / 1.527 GB, free: 15.54 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003959/0.6975, allocations: 2.023 MB / 1.529 GB, free: 13.45 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6975, allocations: 8.656 kB / 1.529 GB, free: 13.44 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.6998, allocations: 1.371 MB / 1.53 GB, free: 12 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.7024, allocations: 0.553 MB / 1.531 GB, free: 11.47 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.7373, allocations: 21.26 MB / 1.552 GB, free: 5.984 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.7385, allocations: 0.9619 MB / 1.552 GB, free: 4.98 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001871/0.7404, allocations: 0.5329 MB / 1.553 GB, free: 4.441 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/0.7418, allocations: 0.9132 MB / 1.554 GB, free: 3.531 MB / 1.248 GB Notification: Performance of SimCode: time 1.342e-06/0.7418, allocations: 0 / 1.554 GB, free: 3.531 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7288/1.471, allocations: 53.44 MB / 1.606 GB, free: 314.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.5, allocations: 6.469 kB / 1.606 GB, free: 314.2 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.27277695806697]