Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001347/0.001347, allocations: 107 kB / 16.41 MB, free: 6.508 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.001421/0.001421, allocations: 187 kB / 17.34 MB, free: 5.742 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 67.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8907, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1717/1.062, allocations: 168.4 MB / 1.373 GB, free: 4.504 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02253/1.085, allocations: 17.35 MB / 1.39 GB, free: 3.105 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/1.087, allocations: 31.81 kB / 1.39 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/1.089, allocations: 0.6012 MB / 1.39 GB, free: 2.469 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005854/1.095, allocations: 1.819 MB / 1.392 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/1.099, allocations: 1.44 MB / 1.394 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004303/1.104, allocations: 2.898 MB / 1.396 GB, free: 12.31 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/1.107, allocations: 1.948 MB / 1.398 GB, free: 10.31 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/1.111, allocations: 1.489 MB / 1.4 GB, free: 8.863 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/1.113, allocations: 1.113 MB / 1.401 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007413/1.114, allocations: 227.9 kB / 1.401 GB, free: 7.523 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/1.117, allocations: 1.548 MB / 1.403 GB, free: 5.973 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/1.119, allocations: 0.8063 MB / 1.403 GB, free: 5.164 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002181/1.121, allocations: 1.232 MB / 1.405 GB, free: 3.926 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005925/1.127, allocations: 3.602 MB / 1.408 GB, free: 320 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.127, allocations: 0 / 1.408 GB, free: 320 kB / 1.123 GB Notification: Performance of FrontEnd: time 2.044e-06/1.127, allocations: 0 / 1.408 GB, free: 320 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001303/1.127, allocations: 0 / 1.408 GB, free: 320 kB / 1.123 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.006967/1.134, allocations: 2.79 MB / 1.411 GB, free: 13.46 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/1.134, allocations: 8.031 kB / 1.411 GB, free: 13.45 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/1.138, allocations: 0.559 MB / 1.411 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/1.141, allocations: 1.639 MB / 1.413 GB, free: 11.2 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/1.142, allocations: 127.3 kB / 1.413 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/1.142, allocations: 176 kB / 1.413 GB, free: 10.9 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/1.146, allocations: 1.956 MB / 1.415 GB, free: 8.895 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/1.146, allocations: 0 / 1.415 GB, free: 8.895 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/1.146, allocations: 72 kB / 1.415 GB, free: 8.824 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/1.146, allocations: 44 kB / 1.415 GB, free: 8.781 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/1.15, allocations: 2.12 MB / 1.417 GB, free: 6.656 MB / 1.139 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.0105/1.161, allocations: 6.181 MB / 1.423 GB, free: 132 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/1.164, allocations: 2.128 MB / 1.426 GB, free: 13.92 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/1.166, allocations: 0.7769 MB / 1.426 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005859/1.166, allocations: 441.5 kB / 1.427 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/1.168, allocations: 1.013 MB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.447e-06/1.168, allocations: 0 / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007081/1.175, allocations: 2.989 MB / 1.431 GB, free: 8.504 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.175, allocations: 205.2 kB / 1.431 GB, free: 8.258 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/1.178, allocations: 1.826 MB / 1.433 GB, free: 6.422 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/1.178, allocations: 57.7 kB / 1.433 GB, free: 6.359 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000775/1.179, allocations: 0.8469 MB / 1.433 GB, free: 5.5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/1.18, allocations: 481 kB / 1.434 GB, free: 5.023 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004519/1.18, allocations: 254.8 kB / 1.434 GB, free: 4.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.18, allocations: 365.9 kB / 1.435 GB, free: 4.406 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/1.182, allocations: 0.6076 MB / 1.435 GB, free: 3.797 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.183, allocations: 0.8131 MB / 1.436 GB, free: 2.934 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/1.186, allocations: 1.353 MB / 1.437 GB, free: 1.566 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.186, allocations: 0 / 1.437 GB, free: 1.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004267/1.19, allocations: 1.842 MB / 1.439 GB, free: 15.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.19, allocations: 14.28 kB / 1.439 GB, free: 15.69 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.19, allocations: 0 / 1.439 GB, free: 15.69 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.191, allocations: 220.1 kB / 1.439 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.193, allocations: 331.6 kB / 1.44 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/1.199, allocations: 7.32 MB / 1.447 GB, free: 7.109 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.201, allocations: 173.5 kB / 1.447 GB, free: 6.941 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002617/1.201, allocations: 55.95 kB / 1.447 GB, free: 6.887 MB / 1.17 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.001174/1.202, allocations: 491.2 kB / 1.447 GB, free: 6.398 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006177/1.203, allocations: 181.8 kB / 1.448 GB, free: 6.219 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/1.207, allocations: 2.145 MB / 1.45 GB, free: 4.047 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.207, allocations: 16 kB / 1.45 GB, free: 4.031 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.207, allocations: 4 kB / 1.45 GB, free: 4.027 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.207, allocations: 7.969 kB / 1.45 GB, free: 4.02 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00749/1.215, allocations: 4.009 MB / 1.454 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.215, allocations: 7.938 kB / 1.454 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.217, allocations: 327.5 kB / 1.454 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009924/1.218, allocations: 196.1 kB / 1.454 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.218, allocations: 39.97 kB / 1.454 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006817/1.225, allocations: 7.359 MB / 1.461 GB, free: 7.281 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.225, allocations: 3.938 kB / 1.461 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/1.23, allocations: 2.012 MB / 1.463 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.231, allocations: 474.3 kB / 1.464 GB, free: 4.742 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/1.232, allocations: 24 kB / 1.464 GB, free: 4.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.233, allocations: 107.9 kB / 1.464 GB, free: 4.613 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.234, allocations: 113.1 kB / 1.464 GB, free: 4.504 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.234, allocations: 71.94 kB / 1.464 GB, free: 4.434 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002368/1.236, allocations: 1.31 MB / 1.465 GB, free: 3.129 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.236, allocations: 0 / 1.465 GB, free: 3.129 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002592/1.239, allocations: 0.6859 MB / 1.466 GB, free: 2.441 MB / 1.186 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.002226/1.241, allocations: 0.761 MB / 1.467 GB, free: 1.867 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004198/1.245, allocations: 2.117 MB / 1.469 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.245, allocations: 4.625 kB / 1.469 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/1.248, allocations: 1.422 MB / 1.47 GB, free: 14.2 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.252, allocations: 0.5393 MB / 1.471 GB, free: 13.68 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/1.26, allocations: 3.79 MB / 1.474 GB, free: 9.848 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/1.262, allocations: 1.502 MB / 1.476 GB, free: 8.316 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009447/1.263, allocations: 199.3 kB / 1.476 GB, free: 8.121 MB / 1.201 GB Notification: Performance of SimCode: time 1.172e-06/1.263, allocations: 0 / 1.476 GB, free: 8.121 MB / 1.201 GB Notification: Performance of Templates: time 0.08117/1.344, allocations: 67.79 MB / 1.542 GB, free: 4.391 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches