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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.572/2.572, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 67.06 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2586, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1725/0.4312, allocations: 168.5 MB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.4517, allocations: 17.35 MB / 1.246 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.4529, allocations: 31.81 kB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.4542, allocations: 0.5699 MB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.4583, allocations: 1.782 MB / 1.248 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.436/0.8944, allocations: 1.428 MB / 1.249 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.8975, allocations: 2.866 MB / 1.252 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.8994, allocations: 1.944 MB / 1.254 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.9025, allocations: 1.409 MB / 1.255 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008736/0.9034, allocations: 1.127 MB / 1.256 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.9036, allocations: 222.2 kB / 1.257 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.9058, allocations: 1.52 MB / 1.258 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004855/0.9063, allocations: 0.8019 MB / 1.259 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000912/0.9072, allocations: 1.284 MB / 1.26 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.9103, allocations: 3.671 MB / 1.264 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9103, allocations: 4.125 kB / 1.264 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9104, allocations: 0.9062 kB / 1.264 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.407e-05/0.9104, allocations: 0 / 1.264 GB, free: 5.43 MB / 0.9981 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.004037/0.9144, allocations: 2.956 MB / 1.267 GB, free: 20.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.9145, allocations: 10.95 kB / 1.267 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.9147, allocations: 250.4 kB / 1.267 GB, free: 19.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/0.9181, allocations: 0.5714 MB / 1.267 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.9214, allocations: 3.395 MB / 1.271 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.9215, allocations: 135.3 kB / 1.271 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.9218, allocations: 166.5 kB / 1.271 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.9249, allocations: 1.953 MB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.9249, allocations: 2.344 kB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.9251, allocations: 78.36 kB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.9251, allocations: 40.78 kB / 1.273 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/0.9283, allocations: 2.114 MB / 1.275 GB, free: 19.14 MB / 1.014 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.00789/0.9362, allocations: 6.775 MB / 1.282 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.9391, allocations: 2.133 MB / 1.284 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.9403, allocations: 0.7729 MB / 1.285 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005557/0.9408, allocations: 430.8 kB / 1.285 GB, free: 16.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.9423, allocations: 1.019 MB / 1.286 GB, free: 15.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 2.906e-06/0.9423, allocations: 0 / 1.286 GB, free: 15.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006033/0.9483, allocations: 3.006 MB / 1.289 GB, free: 15.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.9485, allocations: 200.2 kB / 1.289 GB, free: 15.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/0.9521, allocations: 4.098 MB / 1.293 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.9522, allocations: 57.27 kB / 1.293 GB, free: 14.83 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.9528, allocations: 0.8999 MB / 1.294 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.953, allocations: 481.4 kB / 1.295 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.9534, allocations: 240.5 kB / 1.295 GB, free: 14.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9535, allocations: 352 kB / 1.295 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/0.9545, allocations: 0.5836 MB / 1.296 GB, free: 13.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.9555, allocations: 0.8097 MB / 1.296 GB, free: 13.72 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.9575, allocations: 1.336 MB / 1.298 GB, free: 13.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.9575, allocations: 4.25 kB / 1.298 GB, free: 13.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003203/0.9607, allocations: 1.796 MB / 1.299 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.9607, allocations: 10.22 kB / 1.3 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.9608, allocations: 0.9062 kB / 1.3 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008985/0.9617, allocations: 212.9 kB / 1.3 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.963, allocations: 337 kB / 1.3 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.9684, allocations: 7.327 MB / 1.307 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.9696, allocations: 167.9 kB / 1.307 GB, free: 6.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.9697, allocations: 52.34 kB / 1.307 GB, free: 6.578 MB / 1.014 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.0006267/0.9703, allocations: 0.4917 MB / 1.308 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.9706, allocations: 194.9 kB / 1.308 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/0.9743, allocations: 2.158 MB / 1.31 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.9743, allocations: 15.31 kB / 1.31 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.9744, allocations: 3.312 kB / 1.31 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.9744, allocations: 8.625 kB / 1.31 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.9798, allocations: 4.141 MB / 1.314 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9798, allocations: 1.031 kB / 1.314 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.9811, allocations: 317.8 kB / 1.315 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007241/0.9818, allocations: 204.6 kB / 1.315 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/0.9819, allocations: 41.47 kB / 1.315 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005505/0.9874, allocations: 7.362 MB / 1.322 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9874, allocations: 2.062 kB / 1.322 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.9908, allocations: 2.019 MB / 1.324 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.9914, allocations: 0.519 MB / 1.324 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.9917, allocations: 32.44 kB / 1.324 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9929, allocations: 110.2 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.9931, allocations: 117.9 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.9932, allocations: 72.06 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00225/0.9955, allocations: 3.143 MB / 1.328 GB, free: 14.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9955, allocations: 0.7188 kB / 1.328 GB, free: 14.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001483/0.997, allocations: 0.6839 MB / 1.329 GB, free: 14.16 MB / 1.029 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.005527/1.002, allocations: 3.236 MB / 1.332 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004437/1.007, allocations: 2.508 MB / 1.334 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.007, allocations: 4.312 kB / 1.334 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/1.009, allocations: 1.428 MB / 1.336 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.011, allocations: 0.5614 MB / 1.336 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.036, allocations: 22.75 MB / 1.358 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.038, allocations: 1.544 MB / 1.36 GB, free: 120 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001825/1.039, allocations: 0.5299 MB / 1.36 GB, free: 15.69 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.041, allocations: 0.9024 MB / 1.361 GB, free: 14.88 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/1.041, allocations: 0 / 1.361 GB, free: 14.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.152/1.193, allocations: 49.13 MB / 1.409 GB, free: 15.55 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.04, allocations: 9.531 kB / 1.409 GB, free: 15.55 MB / 1.092 GB (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 --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) 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) Reference file matches