Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007788/0.007788, allocations: 101.6 kB / 15.73 MB, free: 6.055 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.001557/0.001557, allocations: 196.5 kB / 16.68 MB, free: 5.973 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8673, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1792/1.047, allocations: 168.4 MB / 1.372 GB, free: 4.574 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02424/1.071, allocations: 17.34 MB / 1.389 GB, free: 3.184 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/1.073, allocations: 31.81 kB / 1.389 GB, free: 3.152 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/1.075, allocations: 0.5622 MB / 1.39 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006174/1.082, allocations: 1.779 MB / 1.391 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/1.086, allocations: 1.435 MB / 1.393 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004053/1.09, allocations: 2.878 MB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/1.092, allocations: 1.948 MB / 1.398 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003941/1.096, allocations: 1.444 MB / 1.399 GB, free: 9.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/1.098, allocations: 1.117 MB / 1.4 GB, free: 7.969 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/1.098, allocations: 220 kB / 1.4 GB, free: 7.754 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/1.102, allocations: 1.552 MB / 1.402 GB, free: 6.199 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006579/1.102, allocations: 0.7946 MB / 1.403 GB, free: 5.402 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/1.103, allocations: 1.209 MB / 1.404 GB, free: 4.188 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004691/1.108, allocations: 3.59 MB / 1.407 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.108, allocations: 4 kB / 1.407 GB, free: 0.582 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.884e-06/1.108, allocations: 0 / 1.407 GB, free: 0.582 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.563e-05/1.108, allocations: 0 / 1.407 GB, free: 0.582 MB / 1.123 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.005547/1.114, allocations: 2.748 MB / 1.41 GB, free: 13.77 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.114, allocations: 12.03 kB / 1.41 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003759/1.118, allocations: 0.559 MB / 1.41 GB, free: 13.19 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/1.12, allocations: 1.623 MB / 1.412 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/1.121, allocations: 131.4 kB / 1.412 GB, free: 11.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/1.121, allocations: 176 kB / 1.412 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/1.124, allocations: 1.94 MB / 1.414 GB, free: 9.223 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.124, allocations: 0 / 1.414 GB, free: 9.223 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.125, allocations: 72 kB / 1.414 GB, free: 9.152 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/1.125, allocations: 43.94 kB / 1.414 GB, free: 9.109 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/1.128, allocations: 2.093 MB / 1.416 GB, free: 7.012 MB / 1.139 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.009176/1.137, allocations: 6.024 MB / 1.422 GB, free: 0.6406 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/1.141, allocations: 2.085 MB / 1.424 GB, free: 14.48 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.142, allocations: 0.7572 MB / 1.425 GB, free: 13.72 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/1.143, allocations: 437.6 kB / 1.425 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/1.144, allocations: 1.005 MB / 1.426 GB, free: 12.2 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 4.559e-06/1.144, allocations: 3.984 kB / 1.426 GB, free: 12.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006858/1.151, allocations: 2.95 MB / 1.429 GB, free: 9.129 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.151, allocations: 205.2 kB / 1.43 GB, free: 8.887 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/1.153, allocations: 1.784 MB / 1.431 GB, free: 7.09 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.154, allocations: 57.7 kB / 1.431 GB, free: 7.027 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006496/1.154, allocations: 0.8311 MB / 1.432 GB, free: 6.184 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/1.155, allocations: 496.9 kB / 1.433 GB, free: 5.691 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/1.155, allocations: 250.7 kB / 1.433 GB, free: 5.438 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.155, allocations: 357.9 kB / 1.433 GB, free: 5.082 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.156, allocations: 0.596 MB / 1.434 GB, free: 4.488 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/1.158, allocations: 0.8052 MB / 1.435 GB, free: 3.629 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/1.16, allocations: 1.337 MB / 1.436 GB, free: 2.281 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.16, allocations: 0 / 1.436 GB, free: 2.281 MB / 1.154 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003778/1.164, allocations: 1.807 MB / 1.438 GB, free: 460 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.164, allocations: 7.938 kB / 1.438 GB, free: 452 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.164, allocations: 0 / 1.438 GB, free: 452 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/1.165, allocations: 216.2 kB / 1.438 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.166, allocations: 335.5 kB / 1.438 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/1.172, allocations: 7.302 MB / 1.445 GB, free: 7.883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.174, allocations: 166.7 kB / 1.445 GB, free: 7.719 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.174, allocations: 55.97 kB / 1.446 GB, free: 7.664 MB / 1.17 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.0008408/1.175, allocations: 491.2 kB / 1.446 GB, free: 7.172 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/1.175, allocations: 173.8 kB / 1.446 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.179, allocations: 2.125 MB / 1.448 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.18, allocations: 16 kB / 1.448 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.18, allocations: 4 kB / 1.448 GB, free: 4.828 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.18, allocations: 7.969 kB / 1.448 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/1.186, allocations: 3.976 MB / 1.452 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.186, allocations: 3.938 kB / 1.452 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.188, allocations: 319.5 kB / 1.452 GB, free: 460 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009471/1.189, allocations: 208.1 kB / 1.453 GB, free: 236 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.189, allocations: 39.97 kB / 1.453 GB, free: 196 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/1.195, allocations: 7.348 MB / 1.46 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.195, allocations: 3.938 kB / 1.46 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/1.199, allocations: 1.996 MB / 1.462 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009749/1.2, allocations: 466.4 kB / 1.462 GB, free: 5.613 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/1.2, allocations: 28 kB / 1.462 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.201, allocations: 103.9 kB / 1.462 GB, free: 5.484 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/1.202, allocations: 109.2 kB / 1.462 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.202, allocations: 71.94 kB / 1.463 GB, free: 5.305 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0016/1.203, allocations: 1.277 MB / 1.464 GB, free: 4.031 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.91e-07/1.203, allocations: 3.938 kB / 1.464 GB, free: 4.027 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001704/1.205, allocations: 0.6781 MB / 1.464 GB, free: 3.348 MB / 1.186 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.001758/1.207, allocations: 0.7597 MB / 1.465 GB, free: 2.773 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003598/1.21, allocations: 2.082 MB / 1.467 GB, free: 0.625 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.21, allocations: 0.5625 kB / 1.467 GB, free: 0.625 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.213, allocations: 1.418 MB / 1.469 GB, free: 15.14 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.215, allocations: 0.5434 MB / 1.469 GB, free: 14.62 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/1.222, allocations: 3.696 MB / 1.473 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.223, allocations: 1.536 MB / 1.474 GB, free: 9.328 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001814/1.225, allocations: 0.497 MB / 1.475 GB, free: 8.824 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/1.225, allocations: 171.4 kB / 1.475 GB, free: 8.656 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/1.225, allocations: 0 / 1.475 GB, free: 8.656 MB / 1.201 GB Notification: Performance of Templates: time 0.05125/1.277, allocations: 32.74 MB / 1.507 GB, free: 8.254 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches