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.001246/0.001246, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00139/0.00139, allocations: 221.6 kB / 23.03 MB, free: 4.945 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 3.038/3.038, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="cs",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.001883/0.001883, allocations: 66.17 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2906, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003422/0.294, allocations: 2.115 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005113/0.2991, allocations: 3.916 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2993, allocations: 3.938 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.3, allocations: 175.1 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3002, allocations: 79.28 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007169/0.3009, allocations: 347.1 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.3015, allocations: 450.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3017, allocations: 36.91 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.3018, allocations: 151.5 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.302, allocations: 155.3 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.3021, allocations: 20 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.3026, allocations: 343.5 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3027, allocations: 115.6 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3029, allocations: 143.2 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.3036, allocations: 0.5876 MB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3036, allocations: 0 / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3036, allocations: 0 / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3036, allocations: 0 / 1.335 GB, free: 8.914 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.001372/0.3049, allocations: 0.7603 MB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.305, allocations: 8.031 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.274e-05/0.305, allocations: 4.375 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.305, allocations: 42.73 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3063, allocations: 236.4 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.3072, allocations: 348.7 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.3072, allocations: 11.94 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.3072, allocations: 12 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.3079, allocations: 250.6 kB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3079, allocations: 0 / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.308, allocations: 4 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.308, allocations: 0 / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.309, allocations: 339.6 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3103, allocations: 0.6089 MB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.3109, allocations: 226.3 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.3114, allocations: 168.7 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.3114, allocations: 19.98 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3114, allocations: 34.56 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3114, allocations: 0 / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001641/0.3131, allocations: 0.5752 MB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.3131, allocations: 55.34 kB / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.3136, allocations: 449.8 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3136, allocations: 29.7 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3138, allocations: 196.5 kB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.3138, allocations: 47.58 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3139, allocations: 53.69 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3141, allocations: 350.8 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006621/0.3147, allocations: 337.7 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.3154, allocations: 342.7 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.3165, allocations: 0.5196 MB / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3165, allocations: 0 / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001492/0.318, allocations: 0.7586 MB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.3181, allocations: 45.69 kB / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3181, allocations: 0 / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3181, allocations: 0 / 1.342 GB, free: 1.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.3185, allocations: 67.92 kB / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3185, allocations: 3.938 kB / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3189, allocations: 59.72 kB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.3189, allocations: 11.98 kB / 1.342 GB, free: 1.781 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.0001707/0.3191, allocations: 166.3 kB / 1.342 GB, free: 1.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.3192, allocations: 39.72 kB / 1.342 GB, free: 1.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3204, allocations: 440.8 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3204, allocations: 0 / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3204, allocations: 7.875 kB / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3204, allocations: 8 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.3207, allocations: 304.5 kB / 1.343 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3207, allocations: 3.984 kB / 1.343 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.3211, allocations: 63.86 kB / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3211, allocations: 0 / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3212, allocations: 4 kB / 1.343 GB, free: 0.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3212, allocations: 3.984 kB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3212, allocations: 3.938 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3223, allocations: 0.4912 MB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3225, allocations: 63.61 kB / 1.343 GB, free: 132 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.3225, allocations: 8 kB / 1.343 GB, free: 124 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.3229, allocations: 35.94 kB / 1.343 GB, free: 88 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.3229, allocations: 19.91 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3229, allocations: 8 kB / 1.343 GB, free: 60 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003433/0.3233, allocations: 315.1 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3233, allocations: 0 / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004642/0.3238, allocations: 131.8 kB / 1.344 GB, free: 15.62 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.001725/0.3255, allocations: 1.11 MB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.3269, allocations: 0.6266 MB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3269, allocations: 4 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.3274, allocations: 187.8 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3279, allocations: 64.56 kB / 1.346 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.3355, allocations: 5.437 MB / 1.351 GB, free: 8.035 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3357, allocations: 191.5 kB / 1.351 GB, free: 7.832 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002382/0.3359, allocations: 57.89 kB / 1.351 GB, free: 7.777 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.3361, allocations: 123.4 kB / 1.351 GB, free: 7.656 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/0.3361, allocations: 4 kB / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.3685, allocations: 9.826 MB / 1.361 GB, free: 14.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.61, allocations: 3.938 kB / 1.361 GB, free: 14.07 MB / 1.061 GB " [Timeout remaining time 288] (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: 17.984785570995882]