Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.006354/0.006353, allocations: 101.3 kB / 15.73 MB, free: 6.008 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.001283/0.001283, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.89 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8101/0.8116, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1593/0.971, allocations: 154.5 MB / 1.317 GB, free: 8.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.986, allocations: 10.56 MB / 1.327 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.9871, allocations: 19.88 kB / 1.327 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.9884, allocations: 285.7 kB / 1.328 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.992, allocations: 0.9775 MB / 1.329 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.9951, allocations: 1.087 MB / 1.33 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.9974, allocations: 1.721 MB / 1.331 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.9993, allocations: 1.154 MB / 1.332 GB, free: 8.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/1.001, allocations: 0.7312 MB / 1.333 GB, free: 8.059 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/1.002, allocations: 0.6185 MB / 1.334 GB, free: 7.438 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003827/1.003, allocations: 140 kB / 1.334 GB, free: 7.301 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/1.005, allocations: 1.03 MB / 1.335 GB, free: 6.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/1.006, allocations: 386.8 kB / 1.335 GB, free: 5.891 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009734/1.007, allocations: 0.6763 MB / 1.336 GB, free: 5.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/1.01, allocations: 2.239 MB / 1.338 GB, free: 2.965 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.01, allocations: 0 / 1.338 GB, free: 2.965 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/1.01, allocations: 0 / 1.338 GB, free: 2.965 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.831e-05/1.011, allocations: 0 / 1.338 GB, free: 2.965 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004465/1.015, allocations: 1.73 MB / 1.34 GB, free: 1.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.015, allocations: 12.92 kB / 1.34 GB, free: 1.168 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002762/1.015, allocations: 156.1 kB / 1.34 GB, free: 1.008 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.017, allocations: 274 kB / 1.34 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/1.019, allocations: 1.077 MB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/1.019, allocations: 74 kB / 1.341 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.019, allocations: 92 kB / 1.341 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/1.021, allocations: 1.11 MB / 1.343 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.021, allocations: 0 / 1.343 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.021, allocations: 43.94 kB / 1.343 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/1.021, allocations: 24 kB / 1.343 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/1.024, allocations: 1.323 MB / 1.344 GB, free: 12.91 MB / 1.076 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.00546/1.029, allocations: 3.464 MB / 1.347 GB, free: 9.293 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/1.031, allocations: 1.099 MB / 1.348 GB, free: 8.176 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/1.032, allocations: 424.5 kB / 1.349 GB, free: 7.754 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/1.032, allocations: 142 kB / 1.349 GB, free: 7.598 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/1.033, allocations: 0.6099 MB / 1.35 GB, free: 6.973 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 3.296e-06/1.033, allocations: 4 kB / 1.35 GB, free: 6.969 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.004209/1.037, allocations: 1.631 MB / 1.351 GB, free: 5.285 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.038, allocations: 200.9 kB / 1.351 GB, free: 5.047 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/1.039, allocations: 1.017 MB / 1.352 GB, free: 4.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.039, allocations: 49.7 kB / 1.352 GB, free: 3.965 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/1.04, allocations: 476.4 kB / 1.353 GB, free: 3.492 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/1.04, allocations: 303.6 kB / 1.353 GB, free: 3.191 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/1.04, allocations: 182.5 kB / 1.353 GB, free: 3.008 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.04, allocations: 334 kB / 1.354 GB, free: 2.676 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/1.041, allocations: 329.8 kB / 1.354 GB, free: 2.352 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/1.042, allocations: 473.1 kB / 1.354 GB, free: 1.855 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.043, allocations: 0.7648 MB / 1.355 GB, free: 1.078 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.043, allocations: 0 / 1.355 GB, free: 1.078 MB / 1.076 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002561/1.046, allocations: 1.041 MB / 1.356 GB, free: 28 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.046, allocations: 8 kB / 1.356 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.046, allocations: 0 / 1.356 GB, free: 20 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/1.047, allocations: 117.7 kB / 1.356 GB, free: 15.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008768/1.048, allocations: 195.7 kB / 1.356 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/1.051, allocations: 3.069 MB / 1.359 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.052, allocations: 111.2 kB / 1.36 GB, free: 12.24 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.052, allocations: 35.97 kB / 1.36 GB, free: 12.21 MB / 1.092 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006143/1.053, allocations: 301.8 kB / 1.36 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/1.053, allocations: 102.8 kB / 1.36 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/1.056, allocations: 1.326 MB / 1.361 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/1.056, allocations: 12 kB / 1.361 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.056, allocations: 0 / 1.361 GB, free: 10.44 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.056, allocations: 7.969 kB / 1.361 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/1.061, allocations: 2.443 MB / 1.364 GB, free: 7.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.061, allocations: 0 / 1.364 GB, free: 7.93 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/1.061, allocations: 191.8 kB / 1.364 GB, free: 7.742 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005849/1.062, allocations: 109.5 kB / 1.364 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.851e-05/1.062, allocations: 31.97 kB / 1.364 GB, free: 7.598 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/1.065, allocations: 3.085 MB / 1.367 GB, free: 4.227 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.065, allocations: 0 / 1.367 GB, free: 4.227 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/1.068, allocations: 1.237 MB / 1.368 GB, free: 2.965 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/1.068, allocations: 323.4 kB / 1.368 GB, free: 2.629 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.069, allocations: 24 kB / 1.368 GB, free: 2.605 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/1.069, allocations: 79.97 kB / 1.369 GB, free: 2.527 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/1.07, allocations: 84.83 kB / 1.369 GB, free: 2.445 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/1.07, allocations: 44.16 kB / 1.369 GB, free: 2.402 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00106/1.071, allocations: 0.7528 MB / 1.369 GB, free: 1.652 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.071, allocations: 0 / 1.369 GB, free: 1.652 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001355/1.072, allocations: 455 kB / 1.37 GB, free: 1.207 MB / 1.092 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004544/1.077, allocations: 2.401 MB / 1.372 GB, free: 14.95 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002252/1.079, allocations: 1.103 MB / 1.373 GB, free: 13.81 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.079, allocations: 12 kB / 1.373 GB, free: 13.8 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.08, allocations: 0.7371 MB / 1.374 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.082, allocations: 374.3 kB / 1.374 GB, free: 12.7 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.096, allocations: 8.331 MB / 1.383 GB, free: 4.219 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/1.097, allocations: 1.107 MB / 1.384 GB, free: 3.082 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001257/1.098, allocations: 315.9 kB / 1.384 GB, free: 2.77 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007664/1.099, allocations: 471.2 kB / 1.384 GB, free: 2.309 MB / 1.107 GB Notification: Performance of SimCode: time 1.162e-06/1.099, allocations: 4 kB / 1.384 GB, free: 2.305 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06459/1.164, allocations: 28.24 MB / 1.412 GB, free: 6.316 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.9, allocations: 8.078 kB / 1.412 GB, free: 6.312 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches