Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006797/0.006797, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.001182/0.001182, allocations: 200.5 kB / 16.68 MB, free: 6.371 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.84 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.9369/1.281, allocations: 168.9 MB / 1.385 GB, free: 1.621 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02952/1.311, allocations: 17.38 MB / 1.402 GB, free: 3.602 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/1.313, allocations: 31.38 kB / 1.403 GB, free: 3.59 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/1.315, allocations: 0.5919 MB / 1.403 GB, free: 3.09 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008957/1.324, allocations: 1.814 MB / 1.405 GB, free: 1.734 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004845/1.329, allocations: 1.447 MB / 1.406 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00471/1.334, allocations: 2.85 MB / 1.409 GB, free: 14.94 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/1.337, allocations: 1.608 MB / 1.411 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004948/1.342, allocations: 1.481 MB / 1.412 GB, free: 12.95 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/1.345, allocations: 1.113 MB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007601/1.345, allocations: 225.1 kB / 1.413 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/1.35, allocations: 1.554 MB / 1.415 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/1.351, allocations: 0.8 MB / 1.416 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003532/1.355, allocations: 1.215 MB / 1.417 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008249/1.363, allocations: 3.604 MB / 1.42 GB, free: 7.559 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.363, allocations: 2.719 kB / 1.42 GB, free: 7.559 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.41e-07/1.363, allocations: 0 / 1.42 GB, free: 7.559 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001557/1.363, allocations: 0 / 1.42 GB, free: 7.559 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.008081/1.371, allocations: 2.839 MB / 1.423 GB, free: 5.445 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.371, allocations: 8.938 kB / 1.423 GB, free: 5.445 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/1.375, allocations: 0.5775 MB / 1.424 GB, free: 5.164 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/1.379, allocations: 1.632 MB / 1.425 GB, free: 3.578 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.379, allocations: 131.4 kB / 1.425 GB, free: 3.449 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004993/1.38, allocations: 172 kB / 1.426 GB, free: 3.281 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/1.385, allocations: 1.941 MB / 1.427 GB, free: 1.289 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/1.385, allocations: 0 / 1.427 GB, free: 1.289 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/1.385, allocations: 76 kB / 1.428 GB, free: 1.215 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/1.386, allocations: 43.94 kB / 1.428 GB, free: 1.172 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004118/1.39, allocations: 2.089 MB / 1.43 GB, free: 15.07 MB / 1.123 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.01151/1.401, allocations: 6.031 MB / 1.436 GB, free: 8.703 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/1.405, allocations: 2.007 MB / 1.437 GB, free: 6.621 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/1.406, allocations: 0.7027 MB / 1.438 GB, free: 5.914 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/1.407, allocations: 437.6 kB / 1.439 GB, free: 5.414 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/1.409, allocations: 1.005 MB / 1.44 GB, free: 4.387 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 3.998e-06/1.409, allocations: 0 / 1.44 GB, free: 4.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.007105/1.416, allocations: 2.951 MB / 1.442 GB, free: 1.324 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.416, allocations: 197.2 kB / 1.443 GB, free: 1.09 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/1.419, allocations: 1.791 MB / 1.444 GB, free: 15.29 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/1.419, allocations: 57.7 kB / 1.444 GB, free: 15.22 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007715/1.42, allocations: 0.8441 MB / 1.445 GB, free: 14.37 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/1.42, allocations: 0.4957 MB / 1.446 GB, free: 13.87 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/1.421, allocations: 254.8 kB / 1.446 GB, free: 13.61 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.421, allocations: 357.9 kB / 1.446 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.422, allocations: 0.5921 MB / 1.447 GB, free: 12.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/1.423, allocations: 0.7975 MB / 1.448 GB, free: 11.81 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/1.426, allocations: 1.337 MB / 1.449 GB, free: 10.47 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.426, allocations: 0 / 1.449 GB, free: 10.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004679/1.43, allocations: 1.808 MB / 1.451 GB, free: 8.637 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.43, allocations: 8 kB / 1.451 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.43, allocations: 3.938 kB / 1.451 GB, free: 8.625 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/1.432, allocations: 224.1 kB / 1.451 GB, free: 8.391 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.433, allocations: 331.6 kB / 1.451 GB, free: 8.066 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/1.44, allocations: 7.321 MB / 1.458 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.442, allocations: 163.3 kB / 1.459 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.442, allocations: 59.89 kB / 1.459 GB, free: 15.82 MB / 1.154 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 (152): * Single equations (assignments): 147 * 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.001603/1.444, allocations: 488.8 kB / 1.459 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000863/1.445, allocations: 190.8 kB / 1.459 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/1.451, allocations: 2.117 MB / 1.461 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.451, allocations: 16 kB / 1.461 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/1.451, allocations: 0 / 1.461 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/1.451, allocations: 7.969 kB / 1.461 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/1.461, allocations: 3.976 MB / 1.465 GB, free: 8.922 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.461, allocations: 7.938 kB / 1.465 GB, free: 8.914 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.463, allocations: 315.5 kB / 1.466 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.464, allocations: 212.1 kB / 1.466 GB, free: 8.383 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.464, allocations: 39.97 kB / 1.466 GB, free: 8.344 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006422/1.47, allocations: 7.351 MB / 1.473 GB, free: 288 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.47, allocations: 0 / 1.473 GB, free: 288 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/1.475, allocations: 1.997 MB / 1.475 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.476, allocations: 483.3 kB / 1.475 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005495/1.477, allocations: 28 kB / 1.475 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.479, allocations: 103 kB / 1.476 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/1.479, allocations: 113.1 kB / 1.476 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/1.479, allocations: 76.03 kB / 1.476 GB, free: 13.45 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002303/1.481, allocations: 1.281 MB / 1.477 GB, free: 12.17 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.481, allocations: 0 / 1.477 GB, free: 12.17 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002548/1.484, allocations: 0.6859 MB / 1.478 GB, free: 11.48 MB / 1.17 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.002212/1.486, allocations: 0.7506 MB / 1.478 GB, free: 10.91 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003918/1.49, allocations: 2.031 MB / 1.48 GB, free: 8.816 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.49, allocations: 4.562 kB / 1.48 GB, free: 8.812 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/1.492, allocations: 1.375 MB / 1.482 GB, free: 7.375 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.496, allocations: 0.542 MB / 1.482 GB, free: 6.848 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/1.503, allocations: 3.745 MB / 1.486 GB, free: 3.066 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/1.505, allocations: 1.534 MB / 1.487 GB, free: 1.496 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00254/1.508, allocations: 0.5008 MB / 1.488 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/1.509, allocations: 175.3 kB / 1.488 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of SimCode: time 1.533e-06/1.509, allocations: 0 / 1.488 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of Templates: time 0.05999/1.569, allocations: 32.37 MB / 1.52 GB, free: 0.8047 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches