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.00145/0.00145, allocations: 106.9 kB / 16.41 MB, free: 6.5 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.001463/0.001463, allocations: 183 kB / 17.34 MB, free: 5.766 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 59.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8678, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1959/1.064, allocations: 168.4 MB / 1.373 GB, free: 4.57 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02579/1.09, allocations: 17.33 MB / 1.39 GB, free: 3.184 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/1.091, allocations: 31.81 kB / 1.39 GB, free: 3.152 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/1.093, allocations: 0.5739 MB / 1.39 GB, free: 2.574 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/1.099, allocations: 1.78 MB / 1.392 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/1.103, allocations: 1.439 MB / 1.394 GB, free: 15.36 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003782/1.106, allocations: 2.867 MB / 1.396 GB, free: 12.49 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/1.11, allocations: 1.948 MB / 1.398 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/1.114, allocations: 1.447 MB / 1.4 GB, free: 9.086 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/1.116, allocations: 1.117 MB / 1.401 GB, free: 7.965 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006512/1.116, allocations: 220 kB / 1.401 GB, free: 7.75 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/1.12, allocations: 1.552 MB / 1.402 GB, free: 6.195 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/1.121, allocations: 0.7906 MB / 1.403 GB, free: 5.402 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/1.124, allocations: 1.22 MB / 1.404 GB, free: 4.176 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006122/1.13, allocations: 3.586 MB / 1.408 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.13, allocations: 4 kB / 1.408 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.777e-06/1.13, allocations: 3.984 kB / 1.408 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001298/1.13, allocations: 0 / 1.408 GB, free: 0.5703 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.006188/1.136, allocations: 2.752 MB / 1.411 GB, free: 13.75 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/1.136, allocations: 8.031 kB / 1.411 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/1.14, allocations: 0.5591 MB / 1.411 GB, free: 13.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/1.143, allocations: 1.631 MB / 1.413 GB, free: 11.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.143, allocations: 123.4 kB / 1.413 GB, free: 11.38 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/1.144, allocations: 175.9 kB / 1.413 GB, free: 11.2 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003504/1.147, allocations: 1.944 MB / 1.415 GB, free: 9.207 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.147, allocations: 0 / 1.415 GB, free: 9.207 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/1.147, allocations: 68 kB / 1.415 GB, free: 9.141 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/1.148, allocations: 40 kB / 1.415 GB, free: 9.102 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/1.151, allocations: 2.097 MB / 1.417 GB, free: 7 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.009264/1.16, allocations: 6.016 MB / 1.423 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/1.164, allocations: 2.093 MB / 1.425 GB, free: 14.47 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/1.165, allocations: 0.7651 MB / 1.426 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/1.166, allocations: 437.5 kB / 1.426 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/1.167, allocations: 1.001 MB / 1.427 GB, free: 12.18 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/1.168, allocations: 0 / 1.427 GB, free: 12.18 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007078/1.175, allocations: 2.95 MB / 1.43 GB, free: 9.117 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.175, allocations: 205.2 kB / 1.43 GB, free: 8.875 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/1.178, allocations: 1.784 MB / 1.432 GB, free: 7.078 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003861/1.178, allocations: 61.7 kB / 1.432 GB, free: 7.012 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008922/1.179, allocations: 0.835 MB / 1.433 GB, free: 6.164 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007059/1.18, allocations: 481 kB / 1.433 GB, free: 5.688 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/1.18, allocations: 254.7 kB / 1.434 GB, free: 5.43 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.18, allocations: 361.9 kB / 1.434 GB, free: 5.07 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.182, allocations: 0.5882 MB / 1.434 GB, free: 4.484 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/1.183, allocations: 0.7975 MB / 1.435 GB, free: 3.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/1.186, allocations: 1.341 MB / 1.437 GB, free: 2.281 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.186, allocations: 0 / 1.437 GB, free: 2.281 MB / 1.154 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004283/1.19, allocations: 1.799 MB / 1.438 GB, free: 468 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.19, allocations: 7.938 kB / 1.438 GB, free: 460 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.19, allocations: 4 kB / 1.438 GB, free: 456 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.191, allocations: 220.1 kB / 1.439 GB, free: 220 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.193, allocations: 331.6 kB / 1.439 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/1.2, allocations: 7.316 MB / 1.446 GB, free: 7.867 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.201, allocations: 158.7 kB / 1.446 GB, free: 7.711 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/1.202, allocations: 59.95 kB / 1.446 GB, free: 7.652 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.001083/1.203, allocations: 483.2 kB / 1.447 GB, free: 7.168 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/1.203, allocations: 178 kB / 1.447 GB, free: 6.992 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/1.208, allocations: 2.132 MB / 1.449 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.208, allocations: 16 kB / 1.449 GB, free: 4.816 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.208, allocations: 4 kB / 1.449 GB, free: 4.812 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/1.208, allocations: 7.969 kB / 1.449 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/1.215, allocations: 3.965 MB / 1.453 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.215, allocations: 7.875 kB / 1.453 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.217, allocations: 315.6 kB / 1.453 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009293/1.218, allocations: 204.1 kB / 1.453 GB, free: 236 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.218, allocations: 43.97 kB / 1.453 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006159/1.224, allocations: 7.352 MB / 1.461 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.224, allocations: 3.938 kB / 1.461 GB, free: 8.113 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/1.229, allocations: 1.989 MB / 1.462 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/1.23, allocations: 470.3 kB / 1.463 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/1.23, allocations: 28 kB / 1.463 GB, free: 5.582 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.231, allocations: 99.89 kB / 1.463 GB, free: 5.484 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/1.231, allocations: 117.1 kB / 1.463 GB, free: 5.367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.232, allocations: 67.95 kB / 1.463 GB, free: 5.301 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001749/1.233, allocations: 1.277 MB / 1.464 GB, free: 4.027 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.41e-07/1.233, allocations: 0 / 1.464 GB, free: 4.027 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001916/1.235, allocations: 0.682 MB / 1.465 GB, free: 3.344 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.001844/1.237, allocations: 0.7621 MB / 1.466 GB, free: 2.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003626/1.241, allocations: 2.086 MB / 1.468 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.241, allocations: 4.5 kB / 1.468 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.243, allocations: 1.414 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.002879/1.246, allocations: 0.5482 MB / 1.47 GB, free: 14.61 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/1.253, allocations: 3.64 MB / 1.473 GB, free: 10.93 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.254, allocations: 1.486 MB / 1.475 GB, free: 9.418 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/1.255, allocations: 195.3 kB / 1.475 GB, free: 9.227 MB / 1.201 GB Notification: Performance of SimCode: time 7.22e-07/1.255, allocations: 0 / 1.475 GB, free: 9.227 MB / 1.201 GB Notification: Performance of Templates: time 0.0846/1.34, allocations: 67.12 MB / 1.541 GB, free: 6.156 MB / 1.264 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/jenkins1/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