Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001623/0.001623, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4864, allocations: 140.4 MB / 0.949 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002401/0.4888, allocations: 1.961 MB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.4917, allocations: 3.419 MB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4918, allocations: 1.312 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.492, allocations: 42.25 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.4924, allocations: 127 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.797e-05/0.4925, allocations: 23.58 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.4927, allocations: 174.3 kB / 0.9546 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.4928, allocations: 31.7 kB / 0.9547 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.4929, allocations: 77.34 kB / 0.9548 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.4931, allocations: 80.69 kB / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.4931, allocations: 5.656 kB / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.4932, allocations: 24.59 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.4932, allocations: 38.69 kB / 0.9549 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.4933, allocations: 65.52 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.4934, allocations: 154.4 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4935, allocations: 5.219 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4935, allocations: 3.938 kB / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4935, allocations: 0 / 0.9551 GB, free: 4.324 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006643/0.4941, allocations: 0.4984 MB / 0.9556 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4942, allocations: 10.06 kB / 0.9556 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.4942, allocations: 40.11 kB / 0.9556 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.4943, allocations: 17.94 kB / 0.9557 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.4945, allocations: 244.1 kB / 0.9559 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.4945, allocations: 6.375 kB / 0.9559 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.4946, allocations: 7.531 kB / 0.9559 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.4949, allocations: 134.1 kB / 0.956 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4949, allocations: 0 / 0.956 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4949, allocations: 4 kB / 0.956 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.4949, allocations: 16.27 kB / 0.9561 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.4953, allocations: 141.6 kB / 0.9562 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.4959, allocations: 439.2 kB / 0.9566 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.4962, allocations: 167.2 kB / 0.9568 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.4965, allocations: 105.3 kB / 0.9569 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.4965, allocations: 1.094 kB / 0.9569 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.145e-05/0.4965, allocations: 35.53 kB / 0.9569 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4965, allocations: 0 / 0.9569 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000686/0.4972, allocations: 279.1 kB / 0.9572 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.4972, allocations: 56.72 kB / 0.9572 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4974, allocations: 205.4 kB / 0.9574 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.4974, allocations: 35.39 kB / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.4974, allocations: 118.5 kB / 0.9576 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.4975, allocations: 42.38 kB / 0.9576 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.4975, allocations: 35.17 kB / 0.9576 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.4976, allocations: 334.5 kB / 0.958 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.4978, allocations: 69.75 kB / 0.958 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.498, allocations: 71.88 kB / 0.9581 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.4983, allocations: 157.3 kB / 0.9582 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4983, allocations: 5.375 kB / 0.9583 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004324/0.4988, allocations: 215 kB / 0.9585 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4988, allocations: 5.312 kB / 0.9585 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4988, allocations: 1.344 kB / 0.9585 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.4988, allocations: 0 / 0.9585 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.4991, allocations: 43.95 kB / 0.9585 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4991, allocations: 5.141 kB / 0.9585 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.4992, allocations: 15.55 kB / 0.9585 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.4992, allocations: 7.219 kB / 0.9585 GB, free: 1.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.4993, allocations: 130.4 kB / 0.9587 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.4994, allocations: 24.53 kB / 0.9587 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.4994, allocations: 26.45 kB / 0.9587 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.4994, allocations: 2.75 kB / 0.9587 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4994, allocations: 0 / 0.9587 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4994, allocations: 0 / 0.9587 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.4997, allocations: 258.8 kB / 0.959 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4997, allocations: 1.312 kB / 0.959 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.4999, allocations: 38.94 kB / 0.959 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4999, allocations: 1.281 kB / 0.959 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4999, allocations: 5.188 kB / 0.959 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4999, allocations: 1.344 kB / 0.959 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4999, allocations: 0 / 0.959 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.5004, allocations: 314.8 kB / 0.9593 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.5005, allocations: 106.9 kB / 0.9594 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.5005, allocations: 5.625 kB / 0.9594 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.5007, allocations: 11.64 kB / 0.9594 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.5007, allocations: 12.31 kB / 0.9594 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5007, allocations: 7.25 kB / 0.9594 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.413e-05/0.5008, allocations: 158.7 kB / 0.9596 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5008, allocations: 4 kB / 0.9596 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000259/0.5011, allocations: 42.92 kB / 0.9596 GB, free: 0.6328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006769/0.5018, allocations: 0.8373 MB / 0.9605 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.5022, allocations: 170.9 kB / 0.9606 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5023, allocations: 0 / 0.9606 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.5025, allocations: 91.06 kB / 0.9607 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.5028, allocations: 32.31 kB / 0.9607 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.5057, allocations: 2.285 MB / 0.963 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.506, allocations: 0.7269 MB / 0.9637 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.5061, allocations: 42.45 kB / 0.9637 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.5062, allocations: 50.94 kB / 0.9638 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5062, allocations: 0 / 0.9638 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3588/0.8651, allocations: 3.459 MB / 0.9671 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.8653, allocations: 224.4 kB / 0.9674 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.433, allocations: 4 kB / 0.9674 GB, free: 11.3 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches