Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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.006209/0.006209, allocations: 101.1 kB / 15.73 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.001224/0.001224, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 67.89 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3135, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.8709/1.184, allocations: 154.5 MB / 1.358 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01607/1.201, allocations: 10.54 MB / 1.368 GB, free: 2.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.202, allocations: 22.12 kB / 1.368 GB, free: 2.832 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/1.203, allocations: 293.5 kB / 1.369 GB, free: 2.648 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003656/1.207, allocations: 0.9831 MB / 1.37 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/1.21, allocations: 1.08 MB / 1.371 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002466/1.212, allocations: 1.726 MB / 1.372 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001629/1.214, allocations: 1.158 MB / 1.374 GB, free: 112 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/1.216, allocations: 0.7258 MB / 1.374 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/1.217, allocations: 0.6172 MB / 1.375 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/1.217, allocations: 133.8 kB / 1.375 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/1.219, allocations: 1.032 MB / 1.376 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/1.22, allocations: 375.4 kB / 1.376 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007492/1.221, allocations: 0.681 MB / 1.377 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003875/1.224, allocations: 2.243 MB / 1.379 GB, free: 12.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.224, allocations: 3.938 kB / 1.379 GB, free: 12.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/1.224, allocations: 0 / 1.379 GB, free: 12.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.819e-05/1.224, allocations: 0 / 1.379 GB, free: 12.65 MB / 1.076 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.003345/1.228, allocations: 1.724 MB / 1.381 GB, free: 11.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.228, allocations: 10.78 kB / 1.381 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/1.228, allocations: 162.2 kB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/1.23, allocations: 274.8 kB / 1.381 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.231, allocations: 1.081 MB / 1.382 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/1.231, allocations: 74.03 kB / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/1.232, allocations: 92.03 kB / 1.383 GB, free: 10.22 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/1.234, allocations: 1.111 MB / 1.384 GB, free: 9.527 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/1.234, allocations: 1.281 kB / 1.384 GB, free: 9.527 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/1.234, allocations: 42.62 kB / 1.384 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/1.234, allocations: 23.44 kB / 1.384 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/1.236, allocations: 1.314 MB / 1.385 GB, free: 8.883 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.005411/1.241, allocations: 3.468 MB / 1.388 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.244, allocations: 1.108 MB / 1.389 GB, free: 5.531 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/1.244, allocations: 418.1 kB / 1.39 GB, free: 5.324 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/1.245, allocations: 140.7 kB / 1.39 GB, free: 5.203 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.246, allocations: 0.6157 MB / 1.391 GB, free: 4.824 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 3.016e-06/1.246, allocations: 0 / 1.391 GB, free: 4.824 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.004209/1.25, allocations: 1.634 MB / 1.392 GB, free: 3.906 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/1.25, allocations: 199.7 kB / 1.392 GB, free: 3.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.251, allocations: 1.021 MB / 1.393 GB, free: 3.156 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/1.251, allocations: 49.33 kB / 1.393 GB, free: 3.109 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/1.252, allocations: 472.8 kB / 1.394 GB, free: 2.699 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/1.252, allocations: 304.4 kB / 1.394 GB, free: 2.434 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.252, allocations: 173.4 kB / 1.394 GB, free: 2.328 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.252, allocations: 340.1 kB / 1.395 GB, free: 2 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/1.253, allocations: 327.4 kB / 1.395 GB, free: 1.844 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/1.254, allocations: 482.9 kB / 1.395 GB, free: 1.543 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.255, allocations: 0.7604 MB / 1.396 GB, free: 1.145 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.255, allocations: 1.188 kB / 1.396 GB, free: 1.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002403/1.258, allocations: 1.043 MB / 1.397 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.258, allocations: 2.75 kB / 1.397 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.258, allocations: 2.438 kB / 1.397 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/1.258, allocations: 118.2 kB / 1.397 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/1.259, allocations: 197.1 kB / 1.398 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/1.262, allocations: 3.075 MB / 1.401 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.263, allocations: 106.8 kB / 1.401 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/1.263, allocations: 38.25 kB / 1.401 GB, free: 13.33 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.0005548/1.264, allocations: 304 kB / 1.401 GB, free: 13.1 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.264, allocations: 104.8 kB / 1.401 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/1.267, allocations: 1.325 MB / 1.402 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.267, allocations: 9.812 kB / 1.402 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.267, allocations: 2.688 kB / 1.402 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.267, allocations: 7.969 kB / 1.402 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/1.271, allocations: 2.448 MB / 1.405 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.271, allocations: 0 / 1.405 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/1.271, allocations: 191 kB / 1.405 GB, free: 10.65 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005261/1.272, allocations: 101.8 kB / 1.405 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.969e-05/1.272, allocations: 38.75 kB / 1.405 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/1.275, allocations: 3.088 MB / 1.408 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.275, allocations: 0 / 1.408 GB, free: 7.48 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.277, allocations: 1.235 MB / 1.409 GB, free: 6.797 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005844/1.278, allocations: 330.5 kB / 1.41 GB, free: 6.516 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/1.278, allocations: 20.47 kB / 1.41 GB, free: 6.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/1.279, allocations: 77.12 kB / 1.41 GB, free: 6.465 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.279, allocations: 86.83 kB / 1.41 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.279, allocations: 43.25 kB / 1.41 GB, free: 6.402 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009597/1.28, allocations: 0.7522 MB / 1.411 GB, free: 5.844 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.28, allocations: 7.938 kB / 1.411 GB, free: 5.836 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001399/1.282, allocations: 451.1 kB / 1.411 GB, free: 5.395 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.004341/1.286, allocations: 2.39 MB / 1.413 GB, free: 3.168 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002176/1.288, allocations: 1.107 MB / 1.414 GB, free: 2.031 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.288, allocations: 11.94 kB / 1.414 GB, free: 2.02 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.289, allocations: 0.741 MB / 1.415 GB, free: 1.254 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.291, allocations: 358.6 kB / 1.415 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.304, allocations: 8.333 MB / 1.424 GB, free: 8.445 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/1.305, allocations: 1.107 MB / 1.425 GB, free: 7.309 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001061/1.306, allocations: 311.9 kB / 1.425 GB, free: 7 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/1.307, allocations: 467.2 kB / 1.425 GB, free: 6.543 MB / 1.107 GB Notification: Performance of SimCode: time 1.112e-06/1.307, allocations: 0 / 1.425 GB, free: 6.543 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08261/1.389, allocations: 28.26 MB / 1.453 GB, free: 10.63 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.48, allocations: 15.5 kB / 1.453 GB, free: 10.62 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches