Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.00115/0.00115, 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.001356/0.001356, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.688/1.688, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.535e-05, allocations: 2.281 kB / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00115/0.001165, allocations: 0.6745 MB / 0.9817 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.002147, allocations: 0.8354 MB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.002175, allocations: 4 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.002201, allocations: 7.922 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.002253, allocations: 3.938 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.00242, allocations: 11.94 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.00248, allocations: 27.86 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.002569, allocations: 4 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.00263, allocations: 11.98 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.002663, allocations: 11.98 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.002676, allocations: 0 / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.002715, allocations: 7.984 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.002728, allocations: 3.938 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.002745, allocations: 12 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.002832, allocations: 23.95 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.002835, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002836, allocations: 0 / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.00284, allocations: 0 / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003263/0.003166, allocations: 262.3 kB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.003202, allocations: 12.03 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.003229, allocations: 30.75 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.003294, allocations: 4.891 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.15e-05/0.003366, allocations: 109.8 kB / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003375, allocations: 4.375 kB / 0.983 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.003382, allocations: 4.312 kB / 0.983 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.003504, allocations: 50.19 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003511, allocations: 192 / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.00352, allocations: 8.359 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003525, allocations: 4.125 kB / 0.9831 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.003609, allocations: 27.97 kB / 0.9831 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.003862, allocations: 216.1 kB / 0.9833 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.549e-05/0.003948, allocations: 38.61 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.003993, allocations: 24.8 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.004011, allocations: 0 / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.004028, allocations: 42.44 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.004029, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002087/0.004238, allocations: 81.73 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.004265, allocations: 55.41 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.004316, allocations: 97.84 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.004325, allocations: 25.7 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.004358, allocations: 92.08 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.004371, allocations: 3.953 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.004393, allocations: 13.72 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.004466, allocations: 318.8 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.004505, allocations: 19.92 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.004539, allocations: 20.02 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.004613, allocations: 40.81 kB / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004615, allocations: 0 / 0.9842 GB, free: 15.08 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.468e-05/0.004709, allocations: 65.61 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.004719, allocations: 4 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.004724, allocations: 96 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.004735, allocations: 4 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.004786, allocations: 11.98 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.00479, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.004813, allocations: 7.984 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.004817, allocations: 3.938 kB / 0.9843 GB, free: 14.98 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 (2): * Single equations (assignments): 2 * 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 4.776e-05/0.004865, allocations: 109.8 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.004876, allocations: 7.938 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.00499, allocations: 68.97 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004991, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.004995, allocations: 3.938 kB / 0.9844 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.004999, allocations: 7.984 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.959e-05/0.005089, allocations: 120.8 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.005091, allocations: 4 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.005112, allocations: 7.984 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.005115, allocations: 8.125 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005121, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005121, allocations: 0 / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005122, allocations: 4.031 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.005235, allocations: 171.4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.00524, allocations: 3.938 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.005249, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.005285, allocations: 7.984 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.005313, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005315, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.217e-05/0.005347, allocations: 87.27 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.005347, allocations: 7.969 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001382/0.005485, allocations: 4 kB / 0.9849 GB, free: 14.29 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 (2): * Single equations (assignments): 2 * 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.0002835/0.005769, allocations: 0.6967 MB / 0.9855 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.005882, allocations: 39.95 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005883, allocations: 0 / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.005921, allocations: 20.08 kB / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.006108, allocations: 0 / 0.9856 GB, free: 13.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.006408, allocations: 126.5 kB / 0.9857 GB, free: 13.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.006449, allocations: 63.34 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.006466, allocations: 3.938 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.0065, allocations: 8.5 kB / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/0.0065, allocations: 0 / 0.9858 GB, free: 13.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02055, allocations: 1.944 MB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/6.693, allocations: 3.062 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.665085149928927]