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.001237/0.001237, allocations: 113 kB / 18.94 MB, free: 2.934 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.001524/0.001524, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 8.02 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.356/3.356, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",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.002055/0.002055, allocations: 68.38 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3921, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002138/0.3943, allocations: 0.8452 MB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.3944, allocations: 43.78 kB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.3944, allocations: 0 / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.015e-05/0.3945, allocations: 11.86 kB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.472e-05/0.3946, allocations: 15.88 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.881e-05/0.3946, allocations: 15.98 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.3948, allocations: 59.84 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3949, allocations: 31.97 kB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.395, allocations: 27.86 kB / 1.354 GB, free: 7.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.3951, allocations: 27.84 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3951, allocations: 11.94 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.3951, allocations: 4 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.3951, allocations: 15.94 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.3952, allocations: 31.8 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3953, allocations: 79.8 kB / 1.354 GB, free: 7.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3953, allocations: 4 kB / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3953, allocations: 0 / 1.354 GB, free: 7.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3953, allocations: 0 / 1.354 GB, free: 7.246 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.0005099/0.3958, allocations: 306 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3959, allocations: 12.03 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.3959, allocations: 38.75 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.396, allocations: 8.891 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3962, allocations: 142.2 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3962, allocations: 8.375 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3962, allocations: 8.375 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3964, allocations: 99.78 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3964, allocations: 3.938 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3964, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3964, allocations: 0 / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.3965, allocations: 35.98 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.3971, allocations: 407.8 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.3971, allocations: 41.2 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.3972, allocations: 13.78 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.3972, allocations: 0 / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3972, allocations: 42.59 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3972, allocations: 4 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.3974, allocations: 53.53 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3975, allocations: 81.09 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3976, allocations: 156.5 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3976, allocations: 29.69 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.3977, allocations: 100.3 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.3977, allocations: 15.94 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3977, allocations: 13.72 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3979, allocations: 318.8 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.3979, allocations: 7.984 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.3979, allocations: 17.72 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.398, allocations: 33.59 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.398, allocations: 0 / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.628e-05/0.3981, allocations: 61.64 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3981, allocations: 9.656 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3981, allocations: 0 / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3981, allocations: 0 / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.3982, allocations: 11.94 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3982, allocations: 0 / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.3982, allocations: 7.953 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.3982, allocations: 0 / 1.356 GB, free: 4.965 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 8.908e-05/0.3983, allocations: 117.9 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3983, allocations: 15.97 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.3984, allocations: 15.8 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3984, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3984, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3984, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3988, allocations: 457.7 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3988, allocations: 0 / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.3988, allocations: 8 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3988, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/0.3988, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3988, allocations: 7.984 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3988, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.952e-05/0.3989, allocations: 81.89 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.3989, allocations: 15.94 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.3989, allocations: 0 / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.399, allocations: 0 / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.399, allocations: 4 kB / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.399, allocations: 0 / 1.357 GB, free: 4.164 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.3991, allocations: 120.9 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3991, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001832/0.3993, allocations: 8 kB / 1.357 GB, free: 4.039 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.0004281/0.3997, allocations: 0.6132 MB / 1.357 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.21e-05/0.3998, allocations: 16 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3998, allocations: 160 / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.3998, allocations: 11.94 kB / 1.357 GB, free: 3.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3999, allocations: 17.47 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.4012, allocations: 1.328 MB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4015, allocations: 0.6924 MB / 1.359 GB, free: 1.207 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.4016, allocations: 8.422 kB / 1.359 GB, free: 1.199 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.4016, allocations: 23.44 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.4016, allocations: 0 / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.4301, allocations: 1.689 MB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 9.047 kB / 1.361 GB, free: 15.61 MB / 1.061 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.68189341085963]