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.0009361/0.0009361, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0009126/0.0009126, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8735/0.8735, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.657/1.657, allocations: 377.8 MB / 0.6221 GB, free: 8.641 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.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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.064e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002259/0.002279, allocations: 2.119 MB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.005698, allocations: 3.915 MB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.005815, allocations: 7.938 kB / 0.9869 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.006495, allocations: 179 kB / 0.987 GB, free: 12.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.006621, allocations: 79.28 kB / 0.9871 GB, free: 12.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.007191, allocations: 343 kB / 0.9874 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.007709, allocations: 478.4 kB / 0.9879 GB, free: 11.46 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.718e-05/0.007807, allocations: 28.92 kB / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.007996, allocations: 187.6 kB / 0.9881 GB, free: 11.24 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.008124, allocations: 131.6 kB / 0.9882 GB, free: 11.11 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.008154, allocations: 20 kB / 0.9882 GB, free: 11.09 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.00855, allocations: 331.4 kB / 0.9885 GB, free: 10.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.008645, allocations: 119.6 kB / 0.9887 GB, free: 10.65 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/0.008736, allocations: 107.7 kB / 0.9888 GB, free: 10.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.00928, allocations: 0.6387 MB / 0.9894 GB, free: 9.906 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.009283, allocations: 3.938 kB / 0.9894 GB, free: 9.902 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009284, allocations: 0 / 0.9894 GB, free: 9.902 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.009291, allocations: 4 kB / 0.9894 GB, free: 9.898 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009004/0.01019, allocations: 0.7354 MB / 0.9901 GB, free: 9.125 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.01023, allocations: 8.031 kB / 0.9901 GB, free: 9.117 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.01026, allocations: 38.75 kB / 0.9902 GB, free: 9.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006529/0.01091, allocations: 248.3 kB / 0.9904 GB, free: 8.828 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.01151, allocations: 340 kB / 0.9907 GB, free: 8.477 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.01152, allocations: 12.56 kB / 0.9907 GB, free: 8.465 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.01154, allocations: 12.38 kB / 0.9907 GB, free: 8.453 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.01192, allocations: 253.5 kB / 0.991 GB, free: 8.199 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.01193, allocations: 3.938 kB / 0.991 GB, free: 8.195 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.01195, allocations: 8 kB / 0.991 GB, free: 8.188 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.01195, allocations: 4 kB / 0.991 GB, free: 8.184 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.01247, allocations: 323.7 kB / 0.9913 GB, free: 7.867 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.01328, allocations: 0.6243 MB / 0.9919 GB, free: 7.199 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.0136, allocations: 214.4 kB / 0.9921 GB, free: 6.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.01385, allocations: 168.7 kB / 0.9923 GB, free: 6.812 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.01389, allocations: 15.98 kB / 0.9923 GB, free: 6.797 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.01392, allocations: 42.56 kB / 0.9923 GB, free: 6.746 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.01392, allocations: 0 / 0.9923 GB, free: 6.746 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.000916/0.01483, allocations: 0.5615 MB / 0.9929 GB, free: 6.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.01486, allocations: 59.41 kB / 0.9929 GB, free: 6.109 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.01516, allocations: 449.8 kB / 0.9934 GB, free: 5.656 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.01518, allocations: 33.7 kB / 0.9934 GB, free: 5.617 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01529, allocations: 200.4 kB / 0.9936 GB, free: 5.418 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.01532, allocations: 39.64 kB / 0.9936 GB, free: 5.379 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.01539, allocations: 53.69 kB / 0.9937 GB, free: 5.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.01548, allocations: 350.7 kB / 0.994 GB, free: 4.969 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.01584, allocations: 341.7 kB / 0.9943 GB, free: 4.629 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.01618, allocations: 334 kB / 0.9947 GB, free: 4.297 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.01679, allocations: 0.5173 MB / 0.9952 GB, free: 3.773 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01679, allocations: 0 / 0.9952 GB, free: 3.773 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007898/0.01758, allocations: 0.7664 MB / 0.9959 GB, free: 2.988 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.01762, allocations: 41.69 kB / 0.996 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01762, allocations: 4 kB / 0.996 GB, free: 2.938 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01764, allocations: 0 / 0.996 GB, free: 2.938 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.01785, allocations: 67.91 kB / 0.996 GB, free: 2.871 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01786, allocations: 7.938 kB / 0.996 GB, free: 2.863 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.01802, allocations: 55.73 kB / 0.9961 GB, free: 2.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01803, allocations: 7.984 kB / 0.9961 GB, free: 2.801 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 (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.0001174/0.01815, allocations: 157.8 kB / 0.9962 GB, free: 2.637 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.01819, allocations: 43.77 kB / 0.9963 GB, free: 2.594 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.01884, allocations: 428.8 kB / 0.9967 GB, free: 2.168 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.01884, allocations: 4 kB / 0.9967 GB, free: 2.164 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01884, allocations: 3.938 kB / 0.9967 GB, free: 2.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01885, allocations: 3.984 kB / 0.9967 GB, free: 2.156 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.01909, allocations: 312.5 kB / 0.997 GB, free: 1.809 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.0191, allocations: 8 kB / 0.997 GB, free: 1.801 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.01927, allocations: 59.92 kB / 0.9971 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.01927, allocations: 0 / 0.9971 GB, free: 1.742 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01928, allocations: 3.984 kB / 0.9971 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01929, allocations: 8 kB / 0.9971 GB, free: 1.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01929, allocations: 3.938 kB / 0.9971 GB, free: 1.727 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.01989, allocations: 0.5097 MB / 0.9976 GB, free: 1.203 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.01998, allocations: 63.62 kB / 0.9976 GB, free: 1.141 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.02001, allocations: 3.938 kB / 0.9977 GB, free: 1.137 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.02016, allocations: 39.94 kB / 0.9977 GB, free: 1.098 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.02021, allocations: 15.97 kB / 0.9977 GB, free: 1.082 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.02022, allocations: 4 kB / 0.9977 GB, free: 1.078 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002028/0.02043, allocations: 315.1 kB / 0.998 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.02043, allocations: 4 kB / 0.998 GB, free: 0.7695 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003375/0.02077, allocations: 127.8 kB / 0.9981 GB, free: 0.6445 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.0009878/0.02175, allocations: 1.13 MB / 0.9992 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007477/0.0225, allocations: 0.614 MB / 0.9998 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.0225, allocations: 0 / 0.9998 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.02277, allocations: 187.8 kB / 1 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.0231, allocations: 64.66 kB / 1 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.02773, allocations: 5.42 MB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.02785, allocations: 191.4 kB / 1.006 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.02802, allocations: 57.91 kB / 1.006 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.02817, allocations: 124.4 kB / 1.006 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of SimCode: time 1.343e-06/0.02818, allocations: 0 / 1.006 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.05127, allocations: 10.33 MB / 1.016 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/6.423, allocations: 5.516 kB / 1.016 GB, free: 14.59 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.265659875236452]