Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.006957/0.006958, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001425/0.001425, allocations: 192.5 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 62.84 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2651, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003638/0.2688, allocations: 2.149 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004943/0.2738, allocations: 3.785 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.274, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.2744, allocations: 63.48 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.2749, allocations: 119.2 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.2753, allocations: 147.6 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.2758, allocations: 310.9 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2759, allocations: 61.2 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.2762, allocations: 135.5 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2764, allocations: 151.3 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.2765, allocations: 20 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.2768, allocations: 135.8 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.2768, allocations: 55.77 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.277, allocations: 119.3 kB / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.2774, allocations: 347 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2774, allocations: 3.984 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2774, allocations: 3.938 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2774, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001196/0.2786, allocations: 0.627 MB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.2787, allocations: 8.031 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.2787, allocations: 38.75 kB / 1.096 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009253/0.2797, allocations: 184.3 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/0.2804, allocations: 328.2 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2804, allocations: 12.31 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.2804, allocations: 8 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.2811, allocations: 222.6 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2811, allocations: 4 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.2811, allocations: 0 / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2811, allocations: 7.984 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.2822, allocations: 283.6 kB / 1.097 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.2834, allocations: 0.5746 MB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.284, allocations: 174.4 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.2845, allocations: 152.7 kB / 1.097 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/0.2853, allocations: 0.5493 MB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2854, allocations: 34.56 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.2854, allocations: 0 / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.001716/0.2871, allocations: 480.3 kB / 1.098 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2871, allocations: 59.34 kB / 1.098 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.2874, allocations: 272.4 kB / 1.099 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.2874, allocations: 25.7 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.2875, allocations: 152 kB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.2876, allocations: 51.3 kB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.2877, allocations: 37.69 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.2878, allocations: 334.8 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/0.2883, allocations: 151.8 kB / 1.099 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.2889, allocations: 149.3 kB / 1.1 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2899, allocations: 290.7 kB / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2899, allocations: 0 / 1.1 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001154/0.291, allocations: 369 kB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2911, allocations: 4 kB / 1.1 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2911, allocations: 7.938 kB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2911, allocations: 4 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.2915, allocations: 63.92 kB / 1.1 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2916, allocations: 4 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2919, allocations: 51.72 kB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.2919, allocations: 4 kB / 1.1 GB, free: 4.449 MB / 0.8575 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 (17): * Single equations (assignments): 17 * 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 0.000129/0.2921, allocations: 133.8 kB / 1.1 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.2921, allocations: 27.72 kB / 1.101 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.2933, allocations: 379.3 kB / 1.101 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2933, allocations: 0 / 1.101 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2934, allocations: 0 / 1.101 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.2934, allocations: 3.938 kB / 1.101 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.2937, allocations: 305.4 kB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2937, allocations: 0 / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.2941, allocations: 63.86 kB / 1.101 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2941, allocations: 4 kB / 1.101 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2941, allocations: 7.984 kB / 1.101 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2941, allocations: 0 / 1.101 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2941, allocations: 4 kB / 1.101 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2953, allocations: 438.9 kB / 1.102 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2954, allocations: 132.6 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.2955, allocations: 0 / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.2958, allocations: 35.95 kB / 1.102 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.2959, allocations: 27.91 kB / 1.102 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2959, allocations: 4 kB / 1.102 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000152/0.296, allocations: 183.1 kB / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2961, allocations: 3.938 kB / 1.102 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003443/0.2964, allocations: 67.98 kB / 1.102 GB, free: 2.562 MB / 0.8575 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.001495/0.2979, allocations: 1.01 MB / 1.103 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.299, allocations: 323.7 kB / 1.103 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2991, allocations: 4 kB / 1.103 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.2996, allocations: 163.8 kB / 1.104 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3, allocations: 42.59 kB / 1.104 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.305, allocations: 2.873 MB / 1.106 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3053, allocations: 0.7513 MB / 1.107 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000213/0.3055, allocations: 49.38 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3057, allocations: 83.39 kB / 1.107 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of SimCode: time 7.62e-07/0.3057, allocations: 3.938 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.3295, allocations: 5.932 MB / 1.113 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.379, allocations: 18.19 kB / 1.113 GB, free: 7.355 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches