Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 217.6 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.875/2.875, allocations: 0.49 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.86 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2958, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003307/0.2992, allocations: 2.105 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.3042, allocations: 3.923 MB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3044, allocations: 3.938 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.3051, allocations: 179.1 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.3052, allocations: 75.34 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.306, allocations: 343.2 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.3066, allocations: 454.6 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3068, allocations: 44.89 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.3069, allocations: 135.5 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.3072, allocations: 167.3 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.3072, allocations: 23.94 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.3077, allocations: 335.5 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3079, allocations: 123.6 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.308, allocations: 131.2 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.3087, allocations: 0.5954 MB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3087, allocations: 0 / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3087, allocations: 0 / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3087, allocations: 4 kB / 1.334 GB, free: 8.844 MB / 1.029 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.001454/0.3101, allocations: 0.747 MB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3102, allocations: 8.031 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.3102, allocations: 42.75 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.3116, allocations: 240.3 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.3125, allocations: 352.7 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3125, allocations: 12.31 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.3126, allocations: 12 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.3132, allocations: 250.9 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3132, allocations: 0 / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3133, allocations: 7.938 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.3133, allocations: 4 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.3142, allocations: 327.6 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3156, allocations: 0.6167 MB / 1.337 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.3162, allocations: 206.4 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.3167, allocations: 180.7 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.3168, allocations: 19.98 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3168, allocations: 34.56 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3168, allocations: 0 / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001721/0.3185, allocations: 0.5732 MB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.3185, allocations: 55.41 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.319, allocations: 453.8 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.319, allocations: 25.7 kB / 1.338 GB, free: 4.547 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3192, allocations: 192.5 kB / 1.338 GB, free: 4.352 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3192, allocations: 47.59 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.3193, allocations: 49.69 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3195, allocations: 358.8 kB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006576/0.3202, allocations: 333.7 kB / 1.339 GB, free: 3.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.3208, allocations: 338 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.3219, allocations: 0.5109 MB / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3219, allocations: 3.938 kB / 1.34 GB, free: 2.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001439/0.3234, allocations: 0.7745 MB / 1.341 GB, free: 1.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.3234, allocations: 41.69 kB / 1.341 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3234, allocations: 0 / 1.341 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3234, allocations: 3.938 kB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.3239, allocations: 71.91 kB / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.3239, allocations: 0 / 1.341 GB, free: 1.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.3242, allocations: 59.67 kB / 1.341 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.3243, allocations: 11.98 kB / 1.341 GB, free: 1.715 MB / 1.029 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001727/0.3244, allocations: 162.3 kB / 1.341 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.3245, allocations: 39.72 kB / 1.341 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3257, allocations: 444.8 kB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3257, allocations: 4 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3257, allocations: 0 / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3257, allocations: 3.938 kB / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3261, allocations: 308.5 kB / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3261, allocations: 0 / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.3265, allocations: 59.86 kB / 1.342 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3265, allocations: 4 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3265, allocations: 11.98 kB / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3265, allocations: 0 / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3265, allocations: 0 / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3277, allocations: 0.4967 MB / 1.342 GB, free: 132 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3278, allocations: 63.62 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.3279, allocations: 3.984 kB / 1.343 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.3282, allocations: 39.95 kB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.3283, allocations: 19.91 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.3283, allocations: 11.92 kB / 1.343 GB, free: 15.99 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003296/0.3286, allocations: 311.1 kB / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3286, allocations: 0 / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004988/0.3291, allocations: 131.8 kB / 1.343 GB, free: 15.57 MB / 1.045 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.001712/0.3309, allocations: 1.109 MB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.3322, allocations: 0.631 MB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3322, allocations: 0 / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.3327, allocations: 187.8 kB / 1.345 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.3332, allocations: 70.36 kB / 1.345 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.3407, allocations: 5.428 MB / 1.35 GB, free: 7.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.3409, allocations: 195.5 kB / 1.35 GB, free: 7.773 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002509/0.3412, allocations: 61.89 kB / 1.35 GB, free: 7.715 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.3414, allocations: 119.4 kB / 1.351 GB, free: 7.598 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/0.3414, allocations: 0 / 1.351 GB, free: 7.598 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.3788, allocations: 10.26 MB / 1.361 GB, free: 13.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.79, allocations: 19.47 kB / 1.361 GB, free: 13.52 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.732992024015402]