Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008864/0.0008864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001006/0.001006, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.675/1.675, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.9809 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.572e-05, allocations: 4.812 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002224/0.00224, allocations: 1.837 MB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.005375, allocations: 3.409 MB / 0.9861 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-05/0.005461, allocations: 0 / 0.9861 GB, free: 13.31 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.006083, allocations: 163.3 kB / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.006259, allocations: 79.36 kB / 0.9863 GB, free: 13.07 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 9.692e-05/0.006356, allocations: 55.84 kB / 0.9864 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.006758, allocations: 271 kB / 0.9866 GB, free: 12.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.006853, allocations: 21.8 kB / 0.9866 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.006957, allocations: 95.72 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.007137, allocations: 71.8 kB / 0.9868 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.007158, allocations: 8 kB / 0.9868 GB, free: 12.56 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.085e-05/0.007229, allocations: 27.92 kB / 0.9868 GB, free: 12.53 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.007285, allocations: 59.81 kB / 0.9869 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.007331, allocations: 51.86 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.007524, allocations: 203.1 kB / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.007526, allocations: 0 / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007527, allocations: 0 / 0.9871 GB, free: 12.22 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.007531, allocations: 0 / 0.9871 GB, free: 12.22 MB / 0.948 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.000548/0.008079, allocations: 464.9 kB / 0.9876 GB, free: 11.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.008118, allocations: 8.031 kB / 0.9876 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.842e-05/0.008187, allocations: 42.73 kB / 0.9876 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.008377, allocations: 60.75 kB / 0.9877 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.008638, allocations: 204.8 kB / 0.9879 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.008647, allocations: 4.375 kB / 0.9879 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.008661, allocations: 8.312 kB / 0.9879 GB, free: 11.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.008879, allocations: 146 kB / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.008886, allocations: 192 / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.008898, allocations: 7.875 kB / 0.988 GB, free: 11.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.008919, allocations: 8 kB / 0.988 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.009147, allocations: 143.8 kB / 0.9882 GB, free: 11.08 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.009583, allocations: 391.7 kB / 0.9886 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.009812, allocations: 154.5 kB / 0.9887 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.009947, allocations: 100.8 kB / 0.9888 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.009964, allocations: 4 kB / 0.9888 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.009982, allocations: 30.56 kB / 0.9888 GB, free: 10.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.009983, allocations: 0 / 0.9888 GB, free: 10.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004705/0.01045, allocations: 291.3 kB / 0.9891 GB, free: 10.06 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.01048, allocations: 51.41 kB / 0.9892 GB, free: 9.996 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.0107, allocations: 241.9 kB / 0.9894 GB, free: 9.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.01071, allocations: 29.7 kB / 0.9894 GB, free: 9.715 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.01078, allocations: 140 kB / 0.9896 GB, free: 9.574 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.01081, allocations: 47.61 kB / 0.9896 GB, free: 9.527 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.01085, allocations: 29.7 kB / 0.9896 GB, free: 9.492 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.01094, allocations: 346.8 kB / 0.99 GB, free: 9.145 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.01105, allocations: 67.94 kB / 0.99 GB, free: 9.078 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.01116, allocations: 67.94 kB / 0.9901 GB, free: 9.012 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.01139, allocations: 159.9 kB / 0.9902 GB, free: 8.855 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01139, allocations: 0 / 0.9902 GB, free: 8.855 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002794/0.01167, allocations: 217.4 kB / 0.9904 GB, free: 8.637 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01168, allocations: 4 kB / 0.9905 GB, free: 8.633 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01168, allocations: 8 kB / 0.9905 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.0117, allocations: 0 / 0.9905 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01181, allocations: 31.97 kB / 0.9905 GB, free: 8.594 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01182, allocations: 0 / 0.9905 GB, free: 8.594 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.01188, allocations: 15.98 kB / 0.9905 GB, free: 8.578 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.0119, allocations: 7.984 kB / 0.9905 GB, free: 8.57 MB / 0.948 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 8.731e-05/0.01198, allocations: 145.6 kB / 0.9907 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01201, allocations: 27.81 kB / 0.9907 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.01204, allocations: 33.77 kB / 0.9907 GB, free: 8.355 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01204, allocations: 3.938 kB / 0.9907 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01205, allocations: 0 / 0.9907 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01205, allocations: 0 / 0.9907 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.01222, allocations: 224.6 kB / 0.9909 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.01222, allocations: 0 / 0.9909 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.01231, allocations: 31.97 kB / 0.991 GB, free: 8.059 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01231, allocations: 4 kB / 0.991 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01232, allocations: 3.984 kB / 0.991 GB, free: 8.051 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01232, allocations: 8 kB / 0.991 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01232, allocations: 0 / 0.991 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.01263, allocations: 319.1 kB / 0.9913 GB, free: 7.715 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.01268, allocations: 31.84 kB / 0.9913 GB, free: 7.684 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.01269, allocations: 0 / 0.9913 GB, free: 7.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.01277, allocations: 23.97 kB / 0.9913 GB, free: 7.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.01282, allocations: 7.984 kB / 0.9913 GB, free: 7.652 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01283, allocations: 8 kB / 0.9913 GB, free: 7.645 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.796e-05/0.01292, allocations: 177.2 kB / 0.9915 GB, free: 7.469 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01292, allocations: 0 / 0.9915 GB, free: 7.469 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001895/0.01311, allocations: 43.89 kB / 0.9916 GB, free: 7.426 MB / 0.948 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.0005102/0.01362, allocations: 0.8552 MB / 0.9924 GB, free: 6.547 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.01391, allocations: 159.9 kB / 0.9925 GB, free: 6.391 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01391, allocations: 0 / 0.9925 GB, free: 6.391 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01403, allocations: 95.88 kB / 0.9926 GB, free: 6.297 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.0143, allocations: 44.44 kB / 0.9927 GB, free: 6.254 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.01635, allocations: 2.356 MB / 0.995 GB, free: 3.824 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.01644, allocations: 132.1 kB / 0.9951 GB, free: 3.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000107/0.01654, allocations: 53.44 kB / 0.9952 GB, free: 3.625 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.01662, allocations: 60.47 kB / 0.9952 GB, free: 3.562 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/0.01662, allocations: 0 / 0.9952 GB, free: 3.562 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.03285, allocations: 5.513 MB / 1.001 GB, free: 14.26 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.361/6.393, allocations: 2.234 kB / 1.001 GB, free: 14.26 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 10.368622818030417]