Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 213.5 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.382/3.382, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 71.2 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4709, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2084/0.6793, allocations: 148.4 MB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02626/0.7055, allocations: 16.22 MB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.7079, allocations: 43.62 kB / 1.486 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.7107, allocations: 0.5583 MB / 1.487 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.7173, allocations: 1.853 MB / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.7219, allocations: 1.465 MB / 1.49 GB, free: 8.77 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.7266, allocations: 2.918 MB / 1.493 GB, free: 5.84 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.7299, allocations: 1.571 MB / 1.494 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005719/0.7356, allocations: 1.524 MB / 1.496 GB, free: 2.727 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.7379, allocations: 1.054 MB / 1.497 GB, free: 1.668 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007842/0.7387, allocations: 231.9 kB / 1.497 GB, free: 1.441 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/0.7428, allocations: 1.451 MB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.7441, allocations: 0.8062 MB / 1.499 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002317/0.7465, allocations: 1.015 MB / 1.5 GB, free: 14.16 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.7536, allocations: 3.681 MB / 1.504 GB, free: 10.46 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7536, allocations: 4 kB / 1.504 GB, free: 10.46 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7536, allocations: 0 / 1.504 GB, free: 10.46 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001007/0.7537, allocations: 0 / 1.504 GB, free: 10.46 MB / 1.201 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.005843/0.7596, allocations: 2.821 MB / 1.507 GB, free: 7.594 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.7596, allocations: 8.031 kB / 1.507 GB, free: 7.586 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/0.764, allocations: 0.6268 MB / 1.507 GB, free: 6.957 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.7672, allocations: 1.588 MB / 1.509 GB, free: 5.336 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.7673, allocations: 127.4 kB / 1.509 GB, free: 5.211 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.7676, allocations: 168 kB / 1.509 GB, free: 5.047 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/0.7718, allocations: 2.725 MB / 1.512 GB, free: 2.086 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.7718, allocations: 0 / 1.512 GB, free: 2.086 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.772, allocations: 72 kB / 1.512 GB, free: 2.016 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.7721, allocations: 47.88 kB / 1.512 GB, free: 1.969 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.776, allocations: 2.07 MB / 1.514 GB, free: 15.89 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.786, allocations: 4.365 MB / 1.518 GB, free: 11.45 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.7896, allocations: 1.739 MB / 1.52 GB, free: 9.715 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.791, allocations: 0.71 MB / 1.521 GB, free: 8.996 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004737/0.7915, allocations: 121.2 kB / 1.521 GB, free: 8.879 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002456/0.794, allocations: 1.628 MB / 1.522 GB, free: 7.082 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.977e-06/0.794, allocations: 0 / 1.522 GB, free: 7.082 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007383/0.8013, allocations: 2.613 MB / 1.525 GB, free: 4.449 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.8015, allocations: 201.2 kB / 1.525 GB, free: 4.211 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.8042, allocations: 1.735 MB / 1.527 GB, free: 2.461 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.8043, allocations: 57.7 kB / 1.527 GB, free: 2.398 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009717/0.8053, allocations: 0.8827 MB / 1.528 GB, free: 1.504 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.8058, allocations: 0.4996 MB / 1.528 GB, free: 1 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/0.8063, allocations: 258.8 kB / 1.528 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8065, allocations: 357.9 kB / 1.529 GB, free: 392 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.8077, allocations: 0.6038 MB / 1.529 GB, free: 15.78 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.8094, allocations: 1.242 MB / 1.531 GB, free: 14.39 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.812, allocations: 1.36 MB / 1.532 GB, free: 13.02 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.812, allocations: 0 / 1.532 GB, free: 13.02 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004295/0.8163, allocations: 1.831 MB / 1.534 GB, free: 11.16 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.8163, allocations: 7.984 kB / 1.534 GB, free: 11.15 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.8164, allocations: 7.938 kB / 1.534 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.8174, allocations: 208.1 kB / 1.534 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.8191, allocations: 339.6 kB / 1.534 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.8258, allocations: 6.697 MB / 1.541 GB, free: 3.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8275, allocations: 147.5 kB / 1.541 GB, free: 3.234 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.8277, allocations: 59.95 kB / 1.541 GB, free: 3.176 MB / 1.232 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.001098/0.8288, allocations: 495.2 kB / 1.541 GB, free: 2.684 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.8291, allocations: 194.7 kB / 1.542 GB, free: 2.492 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004813/0.8339, allocations: 2.132 MB / 1.544 GB, free: 336 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.834, allocations: 12 kB / 1.544 GB, free: 324 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/0.834, allocations: 4 kB / 1.544 GB, free: 320 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.834, allocations: 11.91 kB / 1.544 GB, free: 308 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008731/0.8427, allocations: 3.522 MB / 1.547 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.8427, allocations: 3.938 kB / 1.547 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.8443, allocations: 327.5 kB / 1.548 GB, free: 12.4 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009846/0.8453, allocations: 204.1 kB / 1.548 GB, free: 12.19 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.8455, allocations: 39.97 kB / 1.548 GB, free: 12.15 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007249/0.8527, allocations: 6.712 MB / 1.554 GB, free: 4.91 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8527, allocations: 4.188 kB / 1.554 GB, free: 4.906 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.8581, allocations: 2.013 MB / 1.556 GB, free: 2.855 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.8595, allocations: 414.2 kB / 1.557 GB, free: 2.449 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/0.86, allocations: 28 kB / 1.557 GB, free: 2.422 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.8616, allocations: 103.8 kB / 1.557 GB, free: 2.324 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.8619, allocations: 125.1 kB / 1.557 GB, free: 2.199 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/0.8621, allocations: 67.95 kB / 1.557 GB, free: 2.133 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002329/0.8645, allocations: 1.252 MB / 1.558 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.8645, allocations: 0 / 1.558 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002389/0.8668, allocations: 0.7053 MB / 1.559 GB, free: 180 kB / 1.248 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.002961/0.8698, allocations: 0.7692 MB / 1.56 GB, free: 15.61 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004418/0.8742, allocations: 2.047 MB / 1.562 GB, free: 13.5 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.8742, allocations: 4.656 kB / 1.562 GB, free: 13.5 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.8768, allocations: 1.375 MB / 1.563 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/0.8801, allocations: 0.5119 MB / 1.563 GB, free: 11.56 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/0.8889, allocations: 3.931 MB / 1.567 GB, free: 7.602 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.8906, allocations: 0.9711 MB / 1.568 GB, free: 6.594 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002374/0.893, allocations: 0.4885 MB / 1.569 GB, free: 6.098 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/0.8937, allocations: 171.3 kB / 1.569 GB, free: 5.93 MB / 1.264 GB Notification: Performance of SimCode: time 1.333e-06/0.8937, allocations: 0 / 1.569 GB, free: 5.93 MB / 1.264 GB Notification: Performance of Templates: time 0.06535/0.9591, allocations: 34.71 MB / 1.603 GB, free: 3.711 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.766534943133593]