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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",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.006067/0.006067, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001287/0.001287, allocations: 198.5 kB / 16.68 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 64.12 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8325, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1765/1.009, allocations: 168.4 MB / 1.372 GB, free: 4.52 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02542/1.035, allocations: 17.35 MB / 1.389 GB, free: 3.117 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/1.037, allocations: 27.81 kB / 1.389 GB, free: 3.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/1.039, allocations: 0.5856 MB / 1.389 GB, free: 2.5 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006297/1.046, allocations: 1.8 MB / 1.391 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005333/1.051, allocations: 1.448 MB / 1.392 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005401/1.056, allocations: 2.874 MB / 1.395 GB, free: 12.38 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003531/1.06, allocations: 1.948 MB / 1.397 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005041/1.065, allocations: 1.475 MB / 1.399 GB, free: 8.945 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/1.067, allocations: 1.113 MB / 1.4 GB, free: 7.828 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009137/1.068, allocations: 223.9 kB / 1.4 GB, free: 7.609 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/1.072, allocations: 1.552 MB / 1.401 GB, free: 6.055 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/1.073, allocations: 0.8023 MB / 1.402 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002311/1.076, allocations: 1.267 MB / 1.403 GB, free: 3.977 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006823/1.082, allocations: 3.719 MB / 1.407 GB, free: 252 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.083, allocations: 0 / 1.407 GB, free: 252 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.943e-06/1.083, allocations: 0 / 1.407 GB, free: 252 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001472/1.083, allocations: 0 / 1.407 GB, free: 252 kB / 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.007585/1.09, allocations: 2.904 MB / 1.41 GB, free: 13.27 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.09, allocations: 12.03 kB / 1.41 GB, free: 13.26 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006181/1.091, allocations: 248.9 kB / 1.41 GB, free: 13.01 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/1.095, allocations: 0.5705 MB / 1.411 GB, free: 12.43 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/1.101, allocations: 3.425 MB / 1.414 GB, free: 8.957 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.101, allocations: 131.4 kB / 1.414 GB, free: 8.828 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/1.101, allocations: 164 kB / 1.414 GB, free: 8.668 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005341/1.107, allocations: 1.944 MB / 1.416 GB, free: 6.672 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/1.107, allocations: 0 / 1.416 GB, free: 6.672 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/1.107, allocations: 75.94 kB / 1.416 GB, free: 6.598 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/1.107, allocations: 44 kB / 1.416 GB, free: 6.555 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/1.112, allocations: 2.093 MB / 1.418 GB, free: 4.457 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.013/1.125, allocations: 6.539 MB / 1.425 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/1.129, allocations: 2.093 MB / 1.427 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.13, allocations: 0.7611 MB / 1.428 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/1.131, allocations: 441.5 kB / 1.428 GB, free: 10.14 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/1.133, allocations: 1.005 MB / 1.429 GB, free: 9.113 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 4.368e-06/1.133, allocations: 0 / 1.429 GB, free: 9.113 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007528/1.14, allocations: 2.961 MB / 1.432 GB, free: 6.039 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.14, allocations: 201.2 kB / 1.432 GB, free: 5.801 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005128/1.146, allocations: 4.049 MB / 1.436 GB, free: 1.746 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003546/1.146, allocations: 61.7 kB / 1.436 GB, free: 1.68 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009048/1.147, allocations: 0.8866 MB / 1.437 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006471/1.148, allocations: 488.9 kB / 1.437 GB, free: 304 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/1.148, allocations: 238.8 kB / 1.438 GB, free: 56 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.148, allocations: 353.9 kB / 1.438 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/1.15, allocations: 0.5726 MB / 1.438 GB, free: 15.13 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.151, allocations: 0.8008 MB / 1.439 GB, free: 14.27 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/1.154, allocations: 1.314 MB / 1.441 GB, free: 12.94 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.154, allocations: 0 / 1.441 GB, free: 12.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00415/1.158, allocations: 1.776 MB / 1.442 GB, free: 11.14 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.158, allocations: 4 kB / 1.442 GB, free: 11.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.158, allocations: 4 kB / 1.442 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.159, allocations: 212.2 kB / 1.443 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.16, allocations: 323.5 kB / 1.443 GB, free: 10.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/1.167, allocations: 7.308 MB / 1.45 GB, free: 2.578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.168, allocations: 163 kB / 1.45 GB, free: 2.418 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/1.169, allocations: 55.95 kB / 1.45 GB, free: 2.363 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: 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 (144): * Single equations (assignments): 139 * 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.001314/1.17, allocations: 481.5 kB / 1.451 GB, free: 1.883 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007088/1.171, allocations: 193.6 kB / 1.451 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/1.176, allocations: 2.126 MB / 1.453 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.176, allocations: 16 kB / 1.453 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.176, allocations: 0 / 1.453 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.176, allocations: 7.969 kB / 1.453 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007869/1.184, allocations: 4.107 MB / 1.457 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.184, allocations: 7.938 kB / 1.457 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.185, allocations: 311.6 kB / 1.457 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000917/1.186, allocations: 216.1 kB / 1.457 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/1.186, allocations: 39.97 kB / 1.457 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/1.192, allocations: 7.344 MB / 1.465 GB, free: 2.691 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.192, allocations: 0 / 1.465 GB, free: 2.691 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/1.197, allocations: 2.005 MB / 1.467 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.198, allocations: 0.506 MB / 1.467 GB, free: 128 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/1.198, allocations: 35.98 kB / 1.467 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.2, allocations: 104.9 kB / 1.467 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/1.2, allocations: 113.1 kB / 1.467 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.2, allocations: 67.95 kB / 1.467 GB, free: 15.81 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003453/1.204, allocations: 3.116 MB / 1.47 GB, free: 12.7 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.61e-07/1.204, allocations: 4 kB / 1.47 GB, free: 12.7 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002601/1.206, allocations: 0.682 MB / 1.471 GB, free: 12.02 MB / 1.201 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.006706/1.213, allocations: 3.222 MB / 1.474 GB, free: 8.941 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003939/1.217, allocations: 2.051 MB / 1.476 GB, free: 6.828 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.217, allocations: 4.562 kB / 1.476 GB, free: 6.824 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/1.22, allocations: 1.415 MB / 1.478 GB, free: 5.344 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.223, allocations: 0.5494 MB / 1.478 GB, free: 4.812 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/1.257, allocations: 20.75 MB / 1.498 GB, free: 15.82 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.258, allocations: 1.529 MB / 1.5 GB, free: 14.26 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002227/1.26, allocations: 0.5251 MB / 1.5 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.262, allocations: 0.9092 MB / 1.501 GB, free: 12.82 MB / 1.232 GB Notification: Performance of SimCode: time 1.312e-06/1.262, allocations: 4 kB / 1.501 GB, free: 12.82 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/1.366, allocations: 48.92 MB / 1.549 GB, free: 12.42 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/17.64, allocations: 19.94 kB / 1.549 GB, free: 12.4 MB / 1.279 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > 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