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.001551/0.001551, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001852/0.001852, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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.908/2.908, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.001887/0.001887, allocations: 62.38 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00355/0.286, allocations: 2.216 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005656/0.2916, allocations: 4.262 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2918, allocations: 3.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.2926, allocations: 191.1 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.2928, allocations: 83.28 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.2936, allocations: 338.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007295/0.2944, allocations: 454.6 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2945, allocations: 40.89 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.2947, allocations: 143.5 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.295, allocations: 159.3 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.295, allocations: 24 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.2956, allocations: 359.5 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.2958, allocations: 115.6 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2959, allocations: 174.9 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.2967, allocations: 0.5876 MB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2967, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2967, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.2967, allocations: 0 / 1.335 GB, free: 8.812 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.001497/0.2982, allocations: 0.7509 MB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2983, allocations: 12.03 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.2983, allocations: 46.73 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.2996, allocations: 240.2 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/0.3006, allocations: 356.7 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3006, allocations: 8.312 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.3006, allocations: 12 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.3013, allocations: 249.4 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3013, allocations: 0 / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3013, allocations: 4 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3013, allocations: 4 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.3023, allocations: 335.6 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3038, allocations: 0.6594 MB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.3043, allocations: 210.4 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/0.3048, allocations: 176.7 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/0.3049, allocations: 23.98 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3049, allocations: 30.56 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3049, allocations: 0 / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001661/0.3066, allocations: 0.5676 MB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3066, allocations: 59.39 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.3071, allocations: 445.8 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.3071, allocations: 33.7 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3073, allocations: 200.4 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.3073, allocations: 47.59 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3074, allocations: 53.67 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3076, allocations: 346.8 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.3082, allocations: 296 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.3088, allocations: 292.3 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.31, allocations: 0.5111 MB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.31, allocations: 4 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001405/0.3114, allocations: 0.7101 MB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.3114, allocations: 45.69 kB / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3114, allocations: 0 / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3114, allocations: 0 / 1.341 GB, free: 1.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.3119, allocations: 67.92 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.3119, allocations: 3.984 kB / 1.341 GB, free: 1.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.3122, allocations: 59.67 kB / 1.341 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.3123, allocations: 11.98 kB / 1.341 GB, free: 1.793 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.0001901/0.3125, allocations: 162.3 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.3125, allocations: 47.7 kB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3138, allocations: 444.7 kB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3138, allocations: 0 / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3138, allocations: 4 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3138, allocations: 7.922 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.3142, allocations: 344.4 kB / 1.342 GB, free: 0.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3142, allocations: 3.938 kB / 1.342 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.3146, allocations: 59.86 kB / 1.342 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3146, allocations: 4 kB / 1.342 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3146, allocations: 11.98 kB / 1.342 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3146, allocations: 0 / 1.342 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3146, allocations: 4 kB / 1.342 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3157, allocations: 0.4951 MB / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.3159, allocations: 67.61 kB / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.3159, allocations: 0 / 1.343 GB, free: 92 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.3163, allocations: 35.95 kB / 1.343 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.3163, allocations: 31.78 kB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3163, allocations: 7.984 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003441/0.3167, allocations: 311.1 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3167, allocations: 0 / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005029/0.3172, allocations: 131.8 kB / 1.344 GB, free: 15.59 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.001679/0.3189, allocations: 1.106 MB / 1.345 GB, free: 14.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.3202, allocations: 0.6174 MB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3202, allocations: 4 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.3208, allocations: 187.8 kB / 1.345 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3212, allocations: 65.53 kB / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/0.3288, allocations: 5.269 MB / 1.351 GB, free: 8.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.3292, allocations: 0.7987 MB / 1.351 GB, free: 7.387 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.3294, allocations: 61.91 kB / 1.351 GB, free: 7.328 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3296, allocations: 123.4 kB / 1.352 GB, free: 7.207 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3296, allocations: 0 / 1.352 GB, free: 7.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.3684, allocations: 9.482 MB / 1.361 GB, free: 13.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.69, allocations: 9.875 kB / 1.361 GB, free: 13.91 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.640929484041408]