Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008065/0.0008065, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008284/0.0008284, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8346/0.8346, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.643/1.643, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.123e-05, allocations: 8.812 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.544/0.5441, allocations: 148.3 MB / 1.126 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.5582, allocations: 16.17 MB / 1.142 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.5602, allocations: 43.06 kB / 1.142 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.5615, allocations: 0.571 MB / 1.142 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.5658, allocations: 1.893 MB / 1.144 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.5685, allocations: 1.491 MB / 1.146 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003081/0.5716, allocations: 2.999 MB / 1.148 GB, free: 14.26 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.5734, allocations: 1.598 MB / 1.15 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.5765, allocations: 2.024 MB / 1.152 GB, free: 12.56 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.5778, allocations: 0.9388 MB / 1.153 GB, free: 12.23 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.5782, allocations: 234.7 kB / 1.153 GB, free: 12.23 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.5809, allocations: 1.474 MB / 1.155 GB, free: 11.8 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.5816, allocations: 0.8623 MB / 1.155 GB, free: 11.33 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.5826, allocations: 0.8843 MB / 1.156 GB, free: 10.91 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005046/0.5877, allocations: 3.985 MB / 1.16 GB, free: 9.395 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5877, allocations: 1.312 kB / 1.16 GB, free: 9.395 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5877, allocations: 0.9375 kB / 1.16 GB, free: 9.395 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.96e-05/0.5878, allocations: 0 / 1.16 GB, free: 9.395 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.00455/0.5923, allocations: 2.994 MB / 1.163 GB, free: 7.562 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.5924, allocations: 13.44 kB / 1.163 GB, free: 7.559 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.5926, allocations: 256.6 kB / 1.163 GB, free: 7.398 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.595, allocations: 0.6407 MB / 1.164 GB, free: 7.223 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.5987, allocations: 3.396 MB / 1.167 GB, free: 5.812 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.5988, allocations: 131.8 kB / 1.167 GB, free: 5.754 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5989, allocations: 174.2 kB / 1.168 GB, free: 5.699 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.6016, allocations: 2.734 MB / 1.17 GB, free: 3.984 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6016, allocations: 4.359 kB / 1.17 GB, free: 3.984 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.6017, allocations: 78.12 kB / 1.17 GB, free: 3.926 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.6018, allocations: 42.22 kB / 1.17 GB, free: 3.926 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.6041, allocations: 2.067 MB / 1.172 GB, free: 3.391 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006973/0.6111, allocations: 5.197 MB / 1.177 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/0.6133, allocations: 1.774 MB / 1.179 GB, free: 400 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.6141, allocations: 0.7337 MB / 1.18 GB, free: 144 kB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.6144, allocations: 117.3 kB / 1.18 GB, free: 128 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.6157, allocations: 1.642 MB / 1.182 GB, free: 15 MB / 1.026 GB Notification: Performance of pre-optimization done (n=154): time 4.278e-06/0.6157, allocations: 1.281 kB / 1.182 GB, free: 15 MB / 1.026 GB Notification: Performance of matching and sorting (n=154): time 0.004267/0.62, allocations: 2.677 MB / 1.184 GB, free: 14.12 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.6201, allocations: 207 kB / 1.184 GB, free: 13.89 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/0.6233, allocations: 4.135 MB / 1.188 GB, free: 12.63 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.6235, allocations: 70.92 kB / 1.189 GB, free: 12.57 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/0.624, allocations: 0.9104 MB / 1.189 GB, free: 11.86 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.6244, allocations: 0.512 MB / 1.19 GB, free: 11.45 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.6246, allocations: 258.9 kB / 1.19 GB, free: 11.33 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.6247, allocations: 355.9 kB / 1.191 GB, free: 11.01 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.6254, allocations: 0.6112 MB / 1.191 GB, free: 10.75 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009361/0.6264, allocations: 1.279 MB / 1.192 GB, free: 9.691 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.6278, allocations: 1.38 MB / 1.194 GB, free: 9.027 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6278, allocations: 0 / 1.194 GB, free: 9.027 MB / 1.026 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002438/0.6303, allocations: 1.872 MB / 1.196 GB, free: 8.117 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6303, allocations: 5.469 kB / 1.196 GB, free: 8.117 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.6303, allocations: 3.938 kB / 1.196 GB, free: 8.113 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/0.6308, allocations: 222.6 kB / 1.196 GB, free: 7.984 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.6316, allocations: 334.2 kB / 1.196 GB, free: 7.902 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.6352, allocations: 6.775 MB / 1.203 GB, free: 1.125 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.6365, allocations: 182 kB / 1.203 GB, free: 1.012 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.6366, allocations: 55.73 kB / 1.203 GB, free: 0.9883 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (158): * Single equations (assignments): 153 * 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.001106/0.6377, allocations: 0.4944 MB / 1.203 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.6381, allocations: 210.8 kB / 1.204 GB, free: 0.5352 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.6409, allocations: 2.212 MB / 1.206 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.6409, allocations: 16.53 kB / 1.206 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6409, allocations: 0 / 1.206 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.641, allocations: 7.969 kB / 1.206 GB, free: 15.34 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/0.6459, allocations: 4.081 MB / 1.21 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6459, allocations: 0 / 1.21 GB, free: 12.94 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.6466, allocations: 328.3 kB / 1.21 GB, free: 12.86 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.647, allocations: 199.2 kB / 1.21 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/0.6471, allocations: 42.41 kB / 1.21 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.6505, allocations: 6.814 MB / 1.217 GB, free: 5.902 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6505, allocations: 6.844 kB / 1.217 GB, free: 5.898 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.6533, allocations: 2.086 MB / 1.219 GB, free: 4.625 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.654, allocations: 469.9 kB / 1.219 GB, free: 4.164 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.6542, allocations: 39.98 kB / 1.219 GB, free: 4.125 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/0.6549, allocations: 114.7 kB / 1.22 GB, free: 4.016 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.6551, allocations: 121.8 kB / 1.22 GB, free: 3.898 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6552, allocations: 75.94 kB / 1.22 GB, free: 3.824 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002349/0.6576, allocations: 3.165 MB / 1.223 GB, free: 0.668 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6576, allocations: 0 / 1.223 GB, free: 0.668 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001631/0.6592, allocations: 0.7132 MB / 1.224 GB, free: 15.95 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004365/0.6636, allocations: 3.361 MB / 1.227 GB, free: 12.76 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002425/0.666, allocations: 2.076 MB / 1.229 GB, free: 10.62 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.666, allocations: 0.6562 kB / 1.229 GB, free: 10.62 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.6672, allocations: 1.383 MB / 1.23 GB, free: 9.172 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.6689, allocations: 0.5654 MB / 1.231 GB, free: 8.629 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/0.6918, allocations: 21.57 MB / 1.252 GB, free: 2.777 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.6925, allocations: 0.9738 MB / 1.253 GB, free: 1.766 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001549/0.6941, allocations: 0.5566 MB / 1.253 GB, free: 1.203 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.6949, allocations: 0.9376 MB / 1.254 GB, free: 272 kB / 1.073 GB Notification: Performance of SimCode: time 1.242e-06/0.6949, allocations: 0 / 1.254 GB, free: 272 kB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/0.7658, allocations: 53.91 MB / 1.307 GB, free: 11.12 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.077/9.843, allocations: 11.17 kB / 1.307 GB, free: 11.12 MB / 1.135 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.83331090863794]