Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 109.9 kB / 16.41 MB, free: 6.449 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.001707/0.001707, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7771, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1687/0.9458, allocations: 168.5 MB / 1.332 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02101/0.9668, allocations: 17.36 MB / 1.349 GB, free: 9.344 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.9683, allocations: 31.81 kB / 1.349 GB, free: 9.312 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.9701, allocations: 0.5856 MB / 1.349 GB, free: 8.723 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.9752, allocations: 1.824 MB / 1.351 GB, free: 6.895 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.9789, allocations: 1.447 MB / 1.353 GB, free: 5.461 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.9825, allocations: 2.894 MB / 1.355 GB, free: 2.559 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.9854, allocations: 1.948 MB / 1.357 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.9896, allocations: 1.47 MB / 1.359 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.9914, allocations: 1.117 MB / 1.36 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006324/0.9921, allocations: 224 kB / 1.36 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.9953, allocations: 1.556 MB / 1.362 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008645/0.9962, allocations: 0.7985 MB / 1.362 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.9979, allocations: 1.232 MB / 1.364 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004784/1.003, allocations: 3.614 MB / 1.367 GB, free: 6.57 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.003, allocations: 0 / 1.367 GB, free: 6.57 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.332e-06/1.003, allocations: 0 / 1.367 GB, free: 6.57 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001188/1.003, allocations: 0 / 1.367 GB, free: 6.57 MB / 1.092 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.005654/1.009, allocations: 2.786 MB / 1.37 GB, free: 3.723 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.009, allocations: 8.922 kB / 1.37 GB, free: 3.715 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003882/1.012, allocations: 0.559 MB / 1.37 GB, free: 3.152 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/1.015, allocations: 1.643 MB / 1.372 GB, free: 1.457 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.015, allocations: 131.3 kB / 1.372 GB, free: 1.328 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/1.016, allocations: 172 kB / 1.372 GB, free: 1.16 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/1.02, allocations: 1.96 MB / 1.374 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/1.02, allocations: 4 kB / 1.374 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/1.02, allocations: 72 kB / 1.374 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.129e-05/1.02, allocations: 40 kB / 1.374 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/1.024, allocations: 2.113 MB / 1.376 GB, free: 12.92 MB / 1.107 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.009237/1.033, allocations: 6.185 MB / 1.382 GB, free: 6.387 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/1.036, allocations: 2.135 MB / 1.384 GB, free: 4.164 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.038, allocations: 0.7725 MB / 1.385 GB, free: 3.395 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/1.038, allocations: 441.5 kB / 1.386 GB, free: 2.887 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/1.04, allocations: 1.017 MB / 1.387 GB, free: 1.852 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 5.09e-06/1.04, allocations: 0 / 1.387 GB, free: 1.852 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006764/1.047, allocations: 2.993 MB / 1.39 GB, free: 14.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.047, allocations: 201.2 kB / 1.39 GB, free: 14.5 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/1.049, allocations: 1.826 MB / 1.392 GB, free: 12.67 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.05, allocations: 61.69 kB / 1.392 GB, free: 12.6 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007195/1.05, allocations: 0.843 MB / 1.392 GB, free: 11.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/1.051, allocations: 485 kB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/1.051, allocations: 254.8 kB / 1.393 GB, free: 11.01 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.051, allocations: 361.9 kB / 1.393 GB, free: 10.65 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.053, allocations: 0.6038 MB / 1.394 GB, free: 10.05 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/1.054, allocations: 0.8092 MB / 1.395 GB, free: 9.188 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/1.056, allocations: 1.353 MB / 1.396 GB, free: 7.82 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/1.056, allocations: 4 kB / 1.396 GB, free: 7.816 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003904/1.06, allocations: 1.846 MB / 1.398 GB, free: 5.945 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.06, allocations: 7.938 kB / 1.398 GB, free: 5.938 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.06, allocations: 4 kB / 1.398 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/1.061, allocations: 212.1 kB / 1.398 GB, free: 5.711 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/1.063, allocations: 335.6 kB / 1.398 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/1.069, allocations: 7.323 MB / 1.406 GB, free: 13.36 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.07, allocations: 174.8 kB / 1.406 GB, free: 13.19 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.07, allocations: 64.02 kB / 1.406 GB, free: 13.13 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.0008957/1.071, allocations: 483.2 kB / 1.406 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/1.072, allocations: 181.8 kB / 1.407 GB, free: 12.47 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/1.076, allocations: 2.152 MB / 1.409 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.076, allocations: 7.969 kB / 1.409 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.076, allocations: 0 / 1.409 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009407/1.077, allocations: 474.2 kB / 1.409 GB, free: 9.797 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.078, allocations: 31.98 kB / 1.409 GB, free: 9.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.079, allocations: 109.6 kB / 1.409 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.079, allocations: 109.1 kB / 1.409 GB, free: 9.555 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004739/1.084, allocations: 2.016 MB / 1.411 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00476/1.089, allocations: 2.867 MB / 1.414 GB, free: 4.625 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001274/1.09, allocations: 0.7598 MB / 1.415 GB, free: 3.863 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00178/1.092, allocations: 1.306 MB / 1.416 GB, free: 2.562 MB / 1.139 GB Notification: Performance of Backend: time 2.71e-07/1.092, allocations: 0 / 1.416 GB, free: 2.562 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005529/1.098, allocations: 2.437 MB / 1.418 GB, free: 260 kB / 1.139 GB Notification: Performance of SimCode: time 0.005994/1.104, allocations: 4.018 MB / 1.422 GB, free: 12.2 MB / 1.154 GB Notification: Performance of Templates: time 0.05767/1.161, allocations: 35.04 MB / 1.457 GB, free: 9.363 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches