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.001795/0.001795, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002078/0.002079, allocations: 194.2 kB / 16.14 MB, free: 6.633 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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.823/2.823, allocations: 437 MB / 0.71 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.767, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2123/0.9793, allocations: 166.1 MB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02773/1.007, allocations: 17.44 MB / 1.196 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002504/1.01, allocations: 27.81 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/1.012, allocations: 485 kB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006654/1.019, allocations: 1.594 MB / 1.198 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004792/1.024, allocations: 1.269 MB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005108/1.029, allocations: 3.12 MB / 1.202 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003471/1.032, allocations: 1.802 MB / 1.204 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/1.039, allocations: 1.27 MB / 1.205 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/1.041, allocations: 1.105 MB / 1.206 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006814/1.042, allocations: 120 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/1.046, allocations: 1.575 MB / 1.208 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/1.047, allocations: 0.7008 MB / 1.209 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002349/1.05, allocations: 1.134 MB / 1.21 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007326/1.057, allocations: 3.516 MB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.057, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/1.057, allocations: 8 kB / 1.213 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001331/1.057, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9669 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.007843/1.065, allocations: 2.778 MB / 1.216 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.065, allocations: 8.031 kB / 1.216 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/1.07, allocations: 0.5551 MB / 1.216 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/1.073, allocations: 1.611 MB / 1.218 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.073, allocations: 127.4 kB / 1.218 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/1.074, allocations: 168 kB / 1.218 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/1.078, allocations: 1.964 MB / 1.22 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.078, allocations: 0 / 1.22 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/1.078, allocations: 72 kB / 1.22 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/1.078, allocations: 44 kB / 1.22 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004015/1.082, allocations: 2.117 MB / 1.222 GB, free: 15.18 MB / 0.9825 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.01117/1.093, allocations: 6.22 MB / 1.228 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/1.097, allocations: 2.121 MB / 1.231 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/1.098, allocations: 0.7764 MB / 1.231 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007057/1.099, allocations: 441.5 kB / 1.232 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00204/1.101, allocations: 1.024 MB / 1.233 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.537e-06/1.101, allocations: 0 / 1.233 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.009206/1.11, allocations: 2.993 MB / 1.236 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/1.111, allocations: 201.2 kB / 1.236 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/1.115, allocations: 1.822 MB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002764/1.115, allocations: 65.69 kB / 1.238 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001268/1.116, allocations: 0.843 MB / 1.239 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008404/1.117, allocations: 484.9 kB / 1.239 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007504/1.118, allocations: 258.8 kB / 1.239 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003021/1.118, allocations: 361.9 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.12, allocations: 0.596 MB / 1.24 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/1.122, allocations: 0.8188 MB / 1.241 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/1.126, allocations: 1.357 MB / 1.242 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.126, allocations: 0 / 1.242 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006554/1.133, allocations: 1.842 MB / 1.244 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.133, allocations: 11.88 kB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.133, allocations: 0 / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/1.134, allocations: 204.2 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/1.137, allocations: 347.5 kB / 1.245 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00947/1.146, allocations: 6.822 MB / 1.251 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6076/1.754, allocations: 173.5 kB / 1.251 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/1.754, allocations: 56.2 kB / 1.251 GB, free: 229.6 MB / 0.9981 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.001324/1.756, allocations: 499.9 kB / 1.252 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005771/1.756, allocations: 183.8 kB / 1.252 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/1.762, allocations: 2.145 MB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/1.762, allocations: 19.53 kB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.762, allocations: 1.656 kB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/1.762, allocations: 8.375 kB / 1.254 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009418/1.771, allocations: 4.019 MB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/1.771, allocations: 0.8438 kB / 1.258 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.773, allocations: 324.1 kB / 1.259 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.774, allocations: 209 kB / 1.259 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/1.774, allocations: 43.72 kB / 1.259 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004971/1.779, allocations: 6.842 MB / 1.265 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.779, allocations: 1.156 kB / 1.265 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/1.785, allocations: 2.008 MB / 1.267 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.787, allocations: 475.6 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/1.787, allocations: 28.45 kB / 1.268 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.789, allocations: 140.2 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.789, allocations: 113.5 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.79, allocations: 76.08 kB / 1.268 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002421/1.792, allocations: 1.308 MB / 1.269 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.792, allocations: 0 / 1.269 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003053/1.795, allocations: 0.6909 MB / 1.27 GB, free: 219.5 MB / 0.9981 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.002784/1.798, allocations: 0.7527 MB / 1.271 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004247/1.802, allocations: 2.098 MB / 1.273 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/1.802, allocations: 2.688 kB / 1.273 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.805, allocations: 1.422 MB / 1.274 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.808, allocations: 0.5142 MB / 1.275 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/1.817, allocations: 4.745 MB / 1.279 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.818, allocations: 1.541 MB / 1.281 GB, free: 214 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002947/1.821, allocations: 0.4933 MB / 1.281 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/1.822, allocations: 174.8 kB / 1.282 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/1.822, allocations: 1.531 kB / 1.282 GB, free: 213.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05169/1.874, allocations: 30.91 MB / 1.312 GB, free: 188.8 MB / 0.9981 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=400 -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/jenkins/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