Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001193/0.001193, allocations: 117 kB / 16.37 MB, free: 6.012 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.001319/0.001319, allocations: 192.3 kB / 17.31 MB, free: 5.613 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.83 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2907, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.7532/1.044, allocations: 167.2 MB / 1.114 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02351/1.068, allocations: 17.19 MB / 1.131 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/1.07, allocations: 31.22 kB / 1.131 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/1.072, allocations: 0.5241 MB / 1.132 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006271/1.078, allocations: 1.682 MB / 1.133 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/1.083, allocations: 1.426 MB / 1.135 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004919/1.088, allocations: 2.66 MB / 1.137 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/1.091, allocations: 1.997 MB / 1.139 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/1.095, allocations: 1.401 MB / 1.141 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/1.097, allocations: 1.08 MB / 1.142 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005296/1.098, allocations: 221.8 kB / 1.142 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/1.102, allocations: 1.556 MB / 1.143 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008965/1.103, allocations: 0.7893 MB / 1.144 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/1.104, allocations: 1.176 MB / 1.145 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009148/1.113, allocations: 3.523 MB / 1.149 GB, free: 432 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/1.113, allocations: 0 / 1.149 GB, free: 432 kB / 0.8575 GB Notification: Performance of FrontEnd: time 3.587e-06/1.113, allocations: 1.031 kB / 1.149 GB, free: 432 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001484/1.114, allocations: 2.438 kB / 1.149 GB, free: 432 kB / 0.8575 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.008173/1.122, allocations: 2.72 MB / 1.151 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.122, allocations: 9.75 kB / 1.151 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/1.126, allocations: 0.558 MB / 1.152 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/1.129, allocations: 1.63 MB / 1.154 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/1.129, allocations: 127.1 kB / 1.154 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/1.13, allocations: 171 kB / 1.154 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/1.133, allocations: 1.944 MB / 1.156 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/1.133, allocations: 0 / 1.156 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/1.133, allocations: 72.91 kB / 1.156 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/1.133, allocations: 41.03 kB / 1.156 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/1.137, allocations: 2.087 MB / 1.158 GB, free: 12.26 MB / 0.8731 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.009251/1.146, allocations: 5.646 MB / 1.163 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/1.149, allocations: 2.098 MB / 1.166 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/1.15, allocations: 0.7562 MB / 1.166 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/1.151, allocations: 432.3 kB / 1.167 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/1.153, allocations: 1.004 MB / 1.168 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.166e-06/1.153, allocations: 4 kB / 1.168 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006595/1.159, allocations: 2.947 MB / 1.171 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.159, allocations: 199 kB / 1.171 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.162, allocations: 1.783 MB / 1.172 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/1.162, allocations: 60.7 kB / 1.173 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007202/1.163, allocations: 0.8339 MB / 1.173 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/1.163, allocations: 487 kB / 1.174 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/1.164, allocations: 255.6 kB / 1.174 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.164, allocations: 357.2 kB / 1.174 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/1.165, allocations: 0.5979 MB / 1.175 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.166, allocations: 0.7956 MB / 1.176 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/1.168, allocations: 1.332 MB / 1.177 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.168, allocations: 4 kB / 1.177 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003826/1.172, allocations: 1.805 MB / 1.179 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.172, allocations: 5.281 kB / 1.179 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.172, allocations: 3.938 kB / 1.179 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.173, allocations: 220 kB / 1.179 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.175, allocations: 331.6 kB / 1.179 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/1.18, allocations: 7.313 MB / 1.186 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.182, allocations: 153.8 kB / 1.187 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/1.182, allocations: 67.23 kB / 1.187 GB, free: 8.043 MB / 0.8887 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.001056/1.184, allocations: 484.1 kB / 1.187 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.184, allocations: 182.2 kB / 1.187 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/1.188, allocations: 2.126 MB / 1.189 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.188, allocations: 18.97 kB / 1.189 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.188, allocations: 2.312 kB / 1.189 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.188, allocations: 7.969 kB / 1.189 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007098/1.195, allocations: 3.978 MB / 1.193 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.195, allocations: 0 / 1.193 GB, free: 4.074 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.197, allocations: 318.3 kB / 1.194 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008705/1.198, allocations: 208.9 kB / 1.194 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.198, allocations: 40.94 kB / 1.194 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00564/1.204, allocations: 7.361 MB / 1.201 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.204, allocations: 0 / 1.201 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/1.208, allocations: 1.997 MB / 1.203 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.209, allocations: 465.7 kB / 1.203 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/1.21, allocations: 30.84 kB / 1.203 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.211, allocations: 97.58 kB / 1.204 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/1.211, allocations: 114.2 kB / 1.204 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.211, allocations: 74.53 kB / 1.204 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001682/1.213, allocations: 1.28 MB / 1.205 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/1.213, allocations: 0 / 1.205 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00199/1.215, allocations: 0.6609 MB / 1.206 GB, free: 9.961 MB / 0.9044 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.001867/1.217, allocations: 0.7508 MB / 1.206 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003418/1.22, allocations: 2.085 MB / 1.208 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.22, allocations: 0.5625 kB / 1.208 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.222, allocations: 1.411 MB / 1.21 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.225, allocations: 0.5264 MB / 1.21 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/1.232, allocations: 3.807 MB / 1.214 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.233, allocations: 1.541 MB / 1.216 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001981/1.235, allocations: 0.4889 MB / 1.216 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/1.236, allocations: 171.3 kB / 1.216 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of SimCode: time 9.02e-07/1.236, allocations: 0 / 1.216 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of Templates: time 0.05591/1.292, allocations: 30.98 MB / 1.246 GB, free: 4.066 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches