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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007369/0.007369, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001868/0.001868, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 58.91 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.164/0.3941, allocations: 167.2 MB / 1.251 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5544/0.9486, allocations: 17.2 MB / 1.268 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.9499, allocations: 33.44 kB / 1.268 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.9513, allocations: 0.5468 MB / 1.268 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.9559, allocations: 1.71 MB / 1.27 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.9595, allocations: 1.443 MB / 1.271 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003701/0.9632, allocations: 2.685 MB / 1.274 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.9662, allocations: 1.993 MB / 1.276 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.9707, allocations: 1.453 MB / 1.277 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.9726, allocations: 1.087 MB / 1.278 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.973, allocations: 222.4 kB / 1.278 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.9765, allocations: 1.559 MB / 1.28 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009207/0.9774, allocations: 0.807 MB / 1.281 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.9791, allocations: 1.245 MB / 1.282 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005887/0.985, allocations: 3.685 MB / 1.286 GB, free: 2.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9851, allocations: 1.094 kB / 1.286 GB, free: 2.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9851, allocations: 0.6875 kB / 1.286 GB, free: 2.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.7e-05/0.9851, allocations: 0 / 1.286 GB, free: 2.078 MB / 1.014 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.005595/0.9907, allocations: 2.998 MB / 1.289 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9908, allocations: 9.266 kB / 1.289 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003074/0.9911, allocations: 251.4 kB / 1.289 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.995, allocations: 0.5843 MB / 1.289 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.9993, allocations: 3.451 MB / 1.293 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.734e-05/0.9995, allocations: 128.1 kB / 1.293 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.9997, allocations: 172.5 kB / 1.293 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/1.003, allocations: 1.953 MB / 1.295 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/1.003, allocations: 5.312 kB / 1.295 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.003, allocations: 73.75 kB / 1.295 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/1.003, allocations: 44.5 kB / 1.295 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/1.007, allocations: 2.117 MB / 1.297 GB, free: 15.7 MB / 1.029 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.009193/1.016, allocations: 6.359 MB / 1.303 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/1.019, allocations: 2.129 MB / 1.305 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/1.021, allocations: 0.7694 MB / 1.306 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/1.021, allocations: 431.6 kB / 1.307 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/1.023, allocations: 1.015 MB / 1.308 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.085e-06/1.023, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006982/1.03, allocations: 3.009 MB / 1.31 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.03, allocations: 198.2 kB / 1.311 GB, free: 12.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/1.034, allocations: 4.099 MB / 1.315 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002194/1.035, allocations: 58.08 kB / 1.315 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/1.035, allocations: 0.9094 MB / 1.316 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/1.036, allocations: 0.4973 MB / 1.316 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/1.036, allocations: 240.6 kB / 1.316 GB, free: 11.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.036, allocations: 356.5 kB / 1.317 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.037, allocations: 0.5865 MB / 1.317 GB, free: 10.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/1.039, allocations: 0.8053 MB / 1.318 GB, free: 10.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/1.041, allocations: 1.333 MB / 1.319 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.041, allocations: 0.9688 kB / 1.319 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003805/1.045, allocations: 1.814 MB / 1.321 GB, free: 10.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.045, allocations: 5.656 kB / 1.321 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.045, allocations: 3.938 kB / 1.321 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.046, allocations: 208.9 kB / 1.321 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/1.047, allocations: 336.6 kB / 1.322 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006428/1.054, allocations: 7.319 MB / 1.329 GB, free: 3.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.056, allocations: 168.4 kB / 1.329 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.056, allocations: 57.05 kB / 1.329 GB, free: 3.016 MB / 1.029 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.001137/1.057, allocations: 493 kB / 1.329 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/1.058, allocations: 206.6 kB / 1.33 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004401/1.062, allocations: 2.153 MB / 1.332 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.062, allocations: 16.16 kB / 1.332 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.062, allocations: 4.266 kB / 1.332 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.062, allocations: 12.38 kB / 1.332 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006609/1.069, allocations: 4.137 MB / 1.336 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.069, allocations: 0 / 1.336 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.07, allocations: 333.7 kB / 1.336 GB, free: 204 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008309/1.071, allocations: 197.2 kB / 1.336 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/1.071, allocations: 43.16 kB / 1.336 GB, free: 116 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/1.076, allocations: 7.355 MB / 1.344 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.076, allocations: 0.9688 kB / 1.344 GB, free: 8.883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/1.08, allocations: 2.038 MB / 1.346 GB, free: 8.062 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009428/1.081, allocations: 0.52 MB / 1.346 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/1.082, allocations: 34.09 kB / 1.346 GB, free: 7.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.083, allocations: 113.3 kB / 1.346 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.083, allocations: 116.7 kB / 1.346 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.083, allocations: 72.95 kB / 1.346 GB, free: 7.648 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003119/1.086, allocations: 3.148 MB / 1.349 GB, free: 6.625 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.1e-07/1.086, allocations: 0.75 kB / 1.349 GB, free: 6.625 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00185/1.088, allocations: 0.6696 MB / 1.35 GB, free: 6.457 MB / 1.045 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.005684/1.094, allocations: 3.243 MB / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003281/1.097, allocations: 2.081 MB / 1.355 GB, free: 3.934 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.097, allocations: 4.547 kB / 1.355 GB, free: 3.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/1.099, allocations: 1.426 MB / 1.357 GB, free: 3.129 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/1.101, allocations: 0.5324 MB / 1.357 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.132, allocations: 21.41 MB / 1.378 GB, free: 5.367 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.133, allocations: 1.542 MB / 1.38 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001822/1.135, allocations: 0.5356 MB / 1.38 GB, free: 3.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.136, allocations: 0.9053 MB / 1.381 GB, free: 2.348 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.136, allocations: 0 / 1.381 GB, free: 2.348 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09082/1.227, allocations: 48.74 MB / 1.429 GB, free: 2.078 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.97, allocations: 0 / 1.429 GB, free: 2.078 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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.csv","/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