Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001314/0.001314, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001459/0.001459, allocations: 217 kB / 22.25 MB, free: 4.852 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002159/0.002159, allocations: 67.08 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 170 MB / 1.283 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2021/0.5959, allocations: 148.3 MB / 1.428 GB, free: 6.98 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02748/0.6233, allocations: 16.21 MB / 1.444 GB, free: 6.723 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.6256, allocations: 43.62 kB / 1.444 GB, free: 6.68 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002528/0.6281, allocations: 0.5739 MB / 1.444 GB, free: 6.102 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.6356, allocations: 1.841 MB / 1.446 GB, free: 4.258 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.6409, allocations: 1.473 MB / 1.448 GB, free: 2.797 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006202/0.6471, allocations: 2.914 MB / 1.45 GB, free: 15.87 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.6508, allocations: 1.574 MB / 1.452 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.6562, allocations: 1.523 MB / 1.453 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.6585, allocations: 1.058 MB / 1.454 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.6593, allocations: 224 kB / 1.455 GB, free: 11.48 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.6636, allocations: 1.462 MB / 1.456 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.6649, allocations: 0.8101 MB / 1.457 GB, free: 9.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.6672, allocations: 1.007 MB / 1.458 GB, free: 8.191 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007757/0.6749, allocations: 3.685 MB / 1.461 GB, free: 4.492 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6749, allocations: 0 / 1.461 GB, free: 4.492 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.295e-06/0.6749, allocations: 3.938 kB / 1.461 GB, free: 4.488 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001202/0.675, allocations: 4 kB / 1.461 GB, free: 4.484 MB / 1.154 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.007562/0.6826, allocations: 2.82 MB / 1.464 GB, free: 1.617 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.6827, allocations: 8.031 kB / 1.464 GB, free: 1.609 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.6873, allocations: 0.6228 MB / 1.465 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.6906, allocations: 1.584 MB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.6907, allocations: 135.4 kB / 1.466 GB, free: 15.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.691, allocations: 164 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00401/0.695, allocations: 2.725 MB / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.695, allocations: 0 / 1.469 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.6952, allocations: 79.98 kB / 1.469 GB, free: 12.03 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.6952, allocations: 40 kB / 1.469 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.6989, allocations: 2.062 MB / 1.471 GB, free: 9.926 MB / 1.17 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.00885/0.7077, allocations: 4.376 MB / 1.476 GB, free: 5.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.7112, allocations: 1.732 MB / 1.477 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.7125, allocations: 0.7144 MB / 1.478 GB, free: 3.027 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.713, allocations: 117.3 kB / 1.478 GB, free: 2.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002289/0.7153, allocations: 1.627 MB / 1.48 GB, free: 1.117 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.256e-06/0.7153, allocations: 0 / 1.48 GB, free: 1.117 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007041/0.7223, allocations: 2.613 MB / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.7225, allocations: 201.2 kB / 1.483 GB, free: 14.24 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.7251, allocations: 1.747 MB / 1.484 GB, free: 12.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.7253, allocations: 57.64 kB / 1.484 GB, free: 12.42 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009578/0.7263, allocations: 0.8828 MB / 1.485 GB, free: 11.52 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.7269, allocations: 0.4956 MB / 1.486 GB, free: 11.03 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.7273, allocations: 262.7 kB / 1.486 GB, free: 10.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.7275, allocations: 357.9 kB / 1.486 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.7288, allocations: 0.6116 MB / 1.487 GB, free: 9.797 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.7305, allocations: 1.24 MB / 1.488 GB, free: 8.398 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.7331, allocations: 1.357 MB / 1.489 GB, free: 7.031 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.7331, allocations: 0 / 1.489 GB, free: 7.031 MB / 1.186 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004386/0.7375, allocations: 1.839 MB / 1.491 GB, free: 5.168 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.7376, allocations: 10.19 kB / 1.491 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7376, allocations: 3.938 kB / 1.491 GB, free: 5.156 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.7387, allocations: 204.2 kB / 1.491 GB, free: 4.941 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.7403, allocations: 343.5 kB / 1.492 GB, free: 4.605 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006766/0.747, allocations: 6.684 MB / 1.498 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.7489, allocations: 155.2 kB / 1.498 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.749, allocations: 51.95 kB / 1.498 GB, free: 13.2 MB / 1.201 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.001099/0.7501, allocations: 499.4 kB / 1.499 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.7505, allocations: 186.8 kB / 1.499 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.7551, allocations: 2.132 MB / 1.501 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.7552, allocations: 19.94 kB / 1.501 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7552, allocations: 0 / 1.501 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.7552, allocations: 11.91 kB / 1.501 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.7626, allocations: 3.537 MB / 1.505 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.7626, allocations: 4 kB / 1.505 GB, free: 6.723 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.7641, allocations: 327.5 kB / 1.505 GB, free: 6.402 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008922/0.765, allocations: 200.1 kB / 1.505 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.7651, allocations: 39.97 kB / 1.505 GB, free: 6.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/0.7717, allocations: 6.717 MB / 1.512 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7717, allocations: 192 / 1.512 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004892/0.7766, allocations: 2.009 MB / 1.514 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.7777, allocations: 406.2 kB / 1.514 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.778, allocations: 28 kB / 1.514 GB, free: 12.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7792, allocations: 106 kB / 1.514 GB, free: 12.35 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/0.7795, allocations: 121.1 kB / 1.514 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/0.7796, allocations: 67.95 kB / 1.514 GB, free: 12.16 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001762/0.7814, allocations: 1.248 MB / 1.516 GB, free: 10.91 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.7814, allocations: 0 / 1.516 GB, free: 10.91 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001883/0.7833, allocations: 0.7014 MB / 1.516 GB, free: 10.21 MB / 1.217 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.002505/0.7858, allocations: 0.7911 MB / 1.517 GB, free: 9.621 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003868/0.7896, allocations: 2.047 MB / 1.519 GB, free: 7.508 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.7897, allocations: 4.656 kB / 1.519 GB, free: 7.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.7919, allocations: 1.368 MB / 1.52 GB, free: 6.07 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.7943, allocations: 0.5275 MB / 1.521 GB, free: 5.566 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.8016, allocations: 3.93 MB / 1.525 GB, free: 1.605 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8027, allocations: 0.9573 MB / 1.526 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001737/0.8044, allocations: 0.504 MB / 1.526 GB, free: 100 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.8049, allocations: 171.4 kB / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of SimCode: time 7.71e-07/0.8049, allocations: 0 / 1.526 GB, free: 15.93 MB / 1.232 GB Notification: Performance of Templates: time 0.0597/0.8646, allocations: 34.72 MB / 1.56 GB, free: 13.75 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.72754997573793]