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.001894/0.001894, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002374/0.002374, allocations: 158.1 kB / 23.01 MB, free: 4.941 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.792/2.792, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002463/0.002463, allocations: 63.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.9374, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1952/1.133, allocations: 148.4 MB / 1.299 GB, free: 13.42 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02533/1.158, allocations: 16.23 MB / 1.315 GB, free: 1.402 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/1.16, allocations: 43.41 kB / 1.315 GB, free: 1.379 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/1.162, allocations: 0.5652 MB / 1.315 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006191/1.168, allocations: 1.841 MB / 1.317 GB, free: 15.53 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004039/1.172, allocations: 1.479 MB / 1.318 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004107/1.176, allocations: 2.905 MB / 1.321 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/1.178, allocations: 1.581 MB / 1.323 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/1.183, allocations: 1.517 MB / 1.324 GB, free: 10.19 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/1.185, allocations: 1.054 MB / 1.325 GB, free: 9.133 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003946/1.186, allocations: 231.9 kB / 1.326 GB, free: 8.906 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/1.189, allocations: 1.458 MB / 1.327 GB, free: 7.445 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008426/1.19, allocations: 0.8101 MB / 1.328 GB, free: 6.633 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/1.191, allocations: 1.007 MB / 1.329 GB, free: 5.621 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00587/1.197, allocations: 3.685 MB / 1.332 GB, free: 1.922 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.197, allocations: 0 / 1.332 GB, free: 1.922 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.814e-06/1.197, allocations: 0 / 1.332 GB, free: 1.922 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.185e-05/1.197, allocations: 0 / 1.332 GB, free: 1.922 MB / 1.17 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.005969/1.203, allocations: 2.816 MB / 1.335 GB, free: 15.06 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.203, allocations: 16.03 kB / 1.335 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/1.208, allocations: 0.6151 MB / 1.336 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/1.211, allocations: 1.592 MB / 1.337 GB, free: 12.8 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.211, allocations: 127.4 kB / 1.337 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/1.212, allocations: 168 kB / 1.338 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/1.216, allocations: 2.717 MB / 1.34 GB, free: 9.559 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/1.216, allocations: 0 / 1.34 GB, free: 9.559 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/1.216, allocations: 75.98 kB / 1.34 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/1.216, allocations: 51.92 kB / 1.34 GB, free: 9.434 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/1.22, allocations: 2.062 MB / 1.342 GB, free: 7.367 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009491/1.23, allocations: 4.366 MB / 1.347 GB, free: 2.93 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/1.233, allocations: 1.745 MB / 1.348 GB, free: 1.188 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/1.235, allocations: 0.7104 MB / 1.349 GB, free: 484 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/1.235, allocations: 117.2 kB / 1.349 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002445/1.237, allocations: 1.631 MB / 1.351 GB, free: 14.55 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 4.158e-06/1.237, allocations: 0 / 1.351 GB, free: 14.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.007513/1.245, allocations: 2.609 MB / 1.353 GB, free: 11.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/1.245, allocations: 197.2 kB / 1.353 GB, free: 11.69 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/1.248, allocations: 1.743 MB / 1.355 GB, free: 9.934 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/1.248, allocations: 61.7 kB / 1.355 GB, free: 9.867 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009342/1.249, allocations: 0.8905 MB / 1.356 GB, free: 8.969 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/1.25, allocations: 0.4957 MB / 1.357 GB, free: 8.469 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/1.25, allocations: 258.7 kB / 1.357 GB, free: 8.207 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.25, allocations: 361.9 kB / 1.357 GB, free: 7.848 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.251, allocations: 0.5999 MB / 1.358 GB, free: 7.25 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/1.253, allocations: 1.244 MB / 1.359 GB, free: 5.848 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.256, allocations: 1.36 MB / 1.36 GB, free: 4.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.256, allocations: 0 / 1.36 GB, free: 4.477 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004299/1.26, allocations: 1.835 MB / 1.362 GB, free: 2.617 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.26, allocations: 4 kB / 1.362 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.26, allocations: 3.938 kB / 1.362 GB, free: 2.609 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.261, allocations: 216.2 kB / 1.362 GB, free: 2.383 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.263, allocations: 339.5 kB / 1.363 GB, free: 2.051 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006452/1.269, allocations: 6.69 MB / 1.369 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.271, allocations: 158.3 kB / 1.369 GB, free: 10.69 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.271, allocations: 63.89 kB / 1.369 GB, free: 10.63 MB / 1.217 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.001005/1.272, allocations: 484.2 kB / 1.37 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/1.273, allocations: 190.9 kB / 1.37 GB, free: 9.961 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/1.277, allocations: 2.132 MB / 1.372 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.277, allocations: 16 kB / 1.372 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.277, allocations: 0 / 1.372 GB, free: 7.785 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.277, allocations: 11.91 kB / 1.372 GB, free: 7.773 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006972/1.284, allocations: 3.529 MB / 1.376 GB, free: 4.188 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.284, allocations: 4 kB / 1.376 GB, free: 4.184 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.286, allocations: 323.6 kB / 1.376 GB, free: 3.867 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009082/1.287, allocations: 200.1 kB / 1.376 GB, free: 3.656 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/1.287, allocations: 39.97 kB / 1.376 GB, free: 3.617 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/1.293, allocations: 6.714 MB / 1.383 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.293, allocations: 8 kB / 1.383 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/1.298, allocations: 2.013 MB / 1.385 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.299, allocations: 398.1 kB / 1.385 GB, free: 9.938 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/1.299, allocations: 31.98 kB / 1.385 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.301, allocations: 107.9 kB / 1.385 GB, free: 9.801 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.301, allocations: 121.1 kB / 1.385 GB, free: 9.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.301, allocations: 63.95 kB / 1.385 GB, free: 9.617 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001768/1.303, allocations: 1.252 MB / 1.387 GB, free: 8.367 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.303, allocations: 0 / 1.387 GB, free: 8.367 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001946/1.305, allocations: 0.7092 MB / 1.387 GB, free: 7.656 MB / 1.232 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.002469/1.307, allocations: 0.7762 MB / 1.388 GB, free: 7.082 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003863/1.311, allocations: 2.051 MB / 1.39 GB, free: 4.965 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.311, allocations: 0.6562 kB / 1.39 GB, free: 4.965 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/1.313, allocations: 1.371 MB / 1.391 GB, free: 3.531 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.316, allocations: 0.5209 MB / 1.392 GB, free: 3.031 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/1.324, allocations: 3.93 MB / 1.396 GB, free: 15.07 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.325, allocations: 0.9728 MB / 1.397 GB, free: 14.05 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001944/1.327, allocations: 0.4923 MB / 1.397 GB, free: 13.55 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/1.328, allocations: 172.4 kB / 1.397 GB, free: 13.39 MB / 1.248 GB Notification: Performance of SimCode: time 8.42e-07/1.328, allocations: 0 / 1.397 GB, free: 13.39 MB / 1.248 GB Notification: Performance of Templates: time 0.05835/1.386, allocations: 31.94 MB / 1.429 GB, free: 13.97 MB / 1.279 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 -s ida -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/jenkins1/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: 10.691774360951968]