Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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.001776/0.001776, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002243/0.002243, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.249/3.249, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.002058/0.002058, allocations: 62.66 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4078, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.003113/0.4109, allocations: 0.8443 MB / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.4111, allocations: 43.78 kB / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.4112, allocations: 0 / 1.346 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.397e-05/0.4112, allocations: 11.86 kB / 1.346 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.4113, allocations: 11.94 kB / 1.346 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.577e-05/0.4114, allocations: 11.98 kB / 1.346 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.4116, allocations: 67.78 kB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4118, allocations: 35.95 kB / 1.346 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.4119, allocations: 23.88 kB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.73e-05/0.412, allocations: 27.84 kB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.412, allocations: 8 kB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.412, allocations: 8 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.4121, allocations: 19.92 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.4121, allocations: 31.73 kB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.4124, allocations: 79.81 kB / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4124, allocations: 0 / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4124, allocations: 0 / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4124, allocations: 0 / 1.347 GB, free: 15.23 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006198/0.413, allocations: 306 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.413, allocations: 8.031 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.4131, allocations: 8.188 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.4131, allocations: 38.75 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.4132, allocations: 12.89 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.4135, allocations: 138.3 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4135, allocations: 4.375 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.4135, allocations: 8.375 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.4138, allocations: 105.3 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4138, allocations: 4 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4138, allocations: 0 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4138, allocations: 4 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.414, allocations: 39.92 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.4148, allocations: 391.8 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4149, allocations: 49.27 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.415, allocations: 13.84 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.415, allocations: 4 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.4151, allocations: 38.5 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.4151, allocations: 0 / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002729/0.4153, allocations: 61.73 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.4154, allocations: 81.11 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4157, allocations: 158.2 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4157, allocations: 29.7 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4158, allocations: 104 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.4158, allocations: 7.938 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.4159, allocations: 17.72 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002821/0.4162, allocations: 314.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.4162, allocations: 12.02 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.4163, allocations: 21.72 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.014e-05/0.4163, allocations: 21.72 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4163, allocations: 0 / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001508/0.4165, allocations: 61.58 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.4165, allocations: 7.938 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4165, allocations: 8.062 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4165, allocations: 0 / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.4166, allocations: 4 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4166, allocations: 0 / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.4167, allocations: 7.953 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4167, allocations: 0 / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 0.0001496/0.4168, allocations: 117.8 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.4169, allocations: 15.83 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.417, allocations: 11.81 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.417, allocations: 8 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.417, allocations: 0 / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.417, allocations: 8.078 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.4177, allocations: 453.7 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4177, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.4177, allocations: 4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4177, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4177, allocations: 8.047 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4177, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4177, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.4179, allocations: 73.89 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.418, allocations: 11.94 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.418, allocations: 8 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.418, allocations: 0 / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.418, allocations: 11.91 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.418, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001773/0.4182, allocations: 121.9 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4182, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003678/0.4186, allocations: 8 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000766/0.4194, allocations: 0.6171 MB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.4195, allocations: 15.94 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4195, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.4195, allocations: 4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4198, allocations: 11.98 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.422, allocations: 1.338 MB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.4226, allocations: 0.6922 MB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.175e-05/0.4227, allocations: 8.422 kB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.4227, allocations: 27.44 kB / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of SimCode: time 7.72e-07/0.4227, allocations: 0 / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.4522, allocations: 1.722 MB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.79, allocations: 9.625 kB / 1.354 GB, free: 7.559 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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: 18.987497439957224]