Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007492/0.007492, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.00152/0.00152, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.054 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 157.4 MB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8203/1.133, allocations: 168.3 MB / 1.372 GB, free: 472 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02146/1.154, allocations: 17.07 MB / 1.388 GB, free: 3.586 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/1.156, allocations: 30.72 kB / 1.388 GB, free: 3.574 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/1.158, allocations: 0.5449 MB / 1.389 GB, free: 3.109 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/1.164, allocations: 1.606 MB / 1.39 GB, free: 1.879 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/1.168, allocations: 1.333 MB / 1.392 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003686/1.171, allocations: 2.697 MB / 1.394 GB, free: 15.24 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/1.174, allocations: 1.888 MB / 1.396 GB, free: 13.99 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/1.178, allocations: 1.372 MB / 1.398 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/1.18, allocations: 0.9837 MB / 1.398 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004136/1.18, allocations: 205.9 kB / 1.399 GB, free: 12.56 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/1.184, allocations: 1.429 MB / 1.4 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006094/1.184, allocations: 0.5501 MB / 1.401 GB, free: 11.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/1.186, allocations: 1.037 MB / 1.402 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/1.19, allocations: 3.118 MB / 1.405 GB, free: 8.543 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.19, allocations: 1.469 kB / 1.405 GB, free: 8.543 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/1.19, allocations: 0 / 1.405 GB, free: 8.543 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.811e-05/1.19, allocations: 0 / 1.405 GB, free: 8.543 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004109/1.194, allocations: 2.283 MB / 1.407 GB, free: 6.848 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.194, allocations: 10.03 kB / 1.407 GB, free: 6.848 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003035/1.194, allocations: 253.4 kB / 1.407 GB, free: 6.648 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/1.198, allocations: 0.5079 MB / 1.408 GB, free: 6.414 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/1.2, allocations: 1.121 MB / 1.409 GB, free: 5.539 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/1.2, allocations: 125.9 kB / 1.409 GB, free: 5.484 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/1.2, allocations: 165.8 kB / 1.409 GB, free: 5.43 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/1.204, allocations: 1.841 MB / 1.411 GB, free: 4.32 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/1.204, allocations: 7.984 kB / 1.411 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/1.204, allocations: 78.47 kB / 1.411 GB, free: 4.254 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/1.204, allocations: 41.75 kB / 1.411 GB, free: 4.254 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/1.207, allocations: 1.873 MB / 1.413 GB, free: 3.359 MB / 1.092 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.008237/1.215, allocations: 5.504 MB / 1.418 GB, free: 14.83 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/1.218, allocations: 1.769 MB / 1.42 GB, free: 13.06 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/1.219, allocations: 0.6522 MB / 1.42 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/1.22, allocations: 0.8 MB / 1.421 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/1.222, allocations: 0.8919 MB / 1.422 GB, free: 10.53 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 4.157e-06/1.222, allocations: 0 / 1.422 GB, free: 10.53 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006016/1.228, allocations: 2.556 MB / 1.425 GB, free: 7.863 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.228, allocations: 205.1 kB / 1.425 GB, free: 7.621 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.229, allocations: 0.831 MB / 1.426 GB, free: 6.766 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/1.229, allocations: 53.7 kB / 1.426 GB, free: 6.707 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/1.23, allocations: 0.6484 MB / 1.426 GB, free: 6.047 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/1.23, allocations: 481 kB / 1.427 GB, free: 5.57 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/1.231, allocations: 238.8 kB / 1.427 GB, free: 5.328 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.231, allocations: 353.9 kB / 1.427 GB, free: 4.977 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009266/1.232, allocations: 470.4 kB / 1.428 GB, free: 4.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/1.233, allocations: 0.6419 MB / 1.428 GB, free: 3.836 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/1.235, allocations: 1.099 MB / 1.43 GB, free: 2.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.235, allocations: 0 / 1.43 GB, free: 2.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003333/1.238, allocations: 1.503 MB / 1.431 GB, free: 1.203 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.238, allocations: 12.03 kB / 1.431 GB, free: 1.191 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.238, allocations: 4 kB / 1.431 GB, free: 1.188 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/1.239, allocations: 192.1 kB / 1.431 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.241, allocations: 335.5 kB / 1.431 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/1.246, allocations: 7.283 MB / 1.439 GB, free: 8.664 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.248, allocations: 146.8 kB / 1.439 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/1.248, allocations: 51.95 kB / 1.439 GB, free: 8.469 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (148): * Single equations (assignments): 143 * 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.0008037/1.249, allocations: 375.5 kB / 1.439 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/1.249, allocations: 130.5 kB / 1.439 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/1.253, allocations: 1.846 MB / 1.441 GB, free: 6.09 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.253, allocations: 16 kB / 1.441 GB, free: 6.074 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.253, allocations: 4 kB / 1.441 GB, free: 6.07 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.253, allocations: 12 kB / 1.441 GB, free: 6.059 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006203/1.259, allocations: 3.436 MB / 1.444 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.259, allocations: 0 / 1.444 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/1.261, allocations: 319.5 kB / 1.445 GB, free: 2.234 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000738/1.262, allocations: 176.2 kB / 1.445 GB, free: 2.047 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/1.262, allocations: 39.97 kB / 1.445 GB, free: 2.008 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005517/1.267, allocations: 7.326 MB / 1.452 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.267, allocations: 8.062 kB / 1.452 GB, free: 9.969 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/1.271, allocations: 1.705 MB / 1.454 GB, free: 8.227 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007914/1.272, allocations: 399 kB / 1.454 GB, free: 7.816 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/1.272, allocations: 28 kB / 1.454 GB, free: 7.789 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.274, allocations: 103.9 kB / 1.454 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/1.274, allocations: 109.2 kB / 1.454 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/1.274, allocations: 71.94 kB / 1.454 GB, free: 7.512 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008657/1.275, allocations: 0.5786 MB / 1.455 GB, free: 6.922 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.01e-07/1.275, allocations: 4 kB / 1.455 GB, free: 6.918 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001716/1.277, allocations: 0.5999 MB / 1.456 GB, free: 6.316 MB / 1.139 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.006111/1.283, allocations: 2.885 MB / 1.458 GB, free: 3.586 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003529/1.286, allocations: 1.828 MB / 1.46 GB, free: 1.691 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/1.286, allocations: 4.562 kB / 1.46 GB, free: 1.688 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/1.288, allocations: 1.305 MB / 1.462 GB, free: 328 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.291, allocations: 0.5237 MB / 1.462 GB, free: 15.81 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/1.31, allocations: 9.928 MB / 1.472 GB, free: 5.719 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.311, allocations: 1.296 MB / 1.473 GB, free: 4.395 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001898/1.313, allocations: 438.3 kB / 1.473 GB, free: 3.961 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.314, allocations: 0.6554 MB / 1.474 GB, free: 3.305 MB / 1.154 GB Notification: Performance of SimCode: time 7.52e-07/1.314, allocations: 0 / 1.474 GB, free: 3.305 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08154/1.396, allocations: 38.26 MB / 1.511 GB, free: 13.48 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.11, allocations: 10.44 kB / 1.511 GB, free: 13.48 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches