Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7928, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002002/0.7948, allocations: 0.8282 MB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.7949, allocations: 40.34 kB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.7949, allocations: 2.188 kB / 1.214 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.795, allocations: 7.875 kB / 1.214 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.7951, allocations: 16.95 kB / 1.214 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.239e-05/0.7951, allocations: 19.23 kB / 1.214 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.7952, allocations: 63.03 kB / 1.214 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.7954, allocations: 33.56 kB / 1.214 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.7954, allocations: 27.64 kB / 1.214 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.7955, allocations: 28.22 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.7955, allocations: 6.438 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.7955, allocations: 5.562 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.7955, allocations: 18.2 kB / 1.214 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.7955, allocations: 31.06 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.7957, allocations: 83.3 kB / 1.214 GB, free: 2.965 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7957, allocations: 4 kB / 1.214 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7957, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7957, allocations: 0.8125 kB / 1.214 GB, free: 2.961 MB / 0.92 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.0004607/0.7962, allocations: 377.9 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7962, allocations: 14.59 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.7962, allocations: 41.08 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.7963, allocations: 14.09 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.7965, allocations: 190.4 kB / 1.215 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.7965, allocations: 11.66 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.7965, allocations: 12.73 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7967, allocations: 96.64 kB / 1.215 GB, free: 2.195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.7967, allocations: 3.938 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.7967, allocations: 1.188 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7967, allocations: 1.125 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.733e-05/0.7968, allocations: 39.67 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.7973, allocations: 432.8 kB / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/0.7974, allocations: 44.97 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.7974, allocations: 23.08 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.7975, allocations: 1.062 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.7975, allocations: 35.72 kB / 1.215 GB, free: 1.613 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.7975, allocations: 0 / 1.215 GB, free: 1.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.7977, allocations: 54.84 kB / 1.215 GB, free: 1.566 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.7977, allocations: 77.98 kB / 1.216 GB, free: 1.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.7979, allocations: 161.1 kB / 1.216 GB, free: 1.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.7979, allocations: 25.7 kB / 1.216 GB, free: 1.312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.798, allocations: 105.3 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.798, allocations: 13.03 kB / 1.216 GB, free: 1.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.798, allocations: 17.58 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7982, allocations: 317.1 kB / 1.216 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.7982, allocations: 7.219 kB / 1.216 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.7982, allocations: 22.95 kB / 1.216 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.7983, allocations: 34.31 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7983, allocations: 0 / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.965e-05/0.7983, allocations: 62.53 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7984, allocations: 9.594 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7984, allocations: 1.094 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7984, allocations: 3.938 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.7984, allocations: 6 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.7984, allocations: 0.7188 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.7985, allocations: 6.062 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.7985, allocations: 6.281 kB / 1.216 GB, free: 0.7383 MB / 0.92 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 7.96e-05/0.7986, allocations: 114.3 kB / 1.216 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.7986, allocations: 10.92 kB / 1.216 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.7986, allocations: 14.73 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7986, allocations: 1.062 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7986, allocations: 1.094 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7986, allocations: 1.094 kB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.7991, allocations: 478 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7991, allocations: 0 / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.7991, allocations: 3.281 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7991, allocations: 1.188 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.7991, allocations: 1.156 kB / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.7991, allocations: 0 / 1.217 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7991, allocations: 8.922 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.7992, allocations: 82.78 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.7993, allocations: 92.42 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.7993, allocations: 5.062 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.7993, allocations: 0 / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-06/0.7993, allocations: 1.469 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.7993, allocations: 0.75 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.382e-05/0.7994, allocations: 121.1 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.7994, allocations: 1.125 kB / 1.217 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001866/0.7996, allocations: 10.78 kB / 1.217 GB, free: 15.78 MB / 0.9356 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.0004174/0.8, allocations: 0.6159 MB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.8001, allocations: 18.5 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8001, allocations: 3.938 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.8001, allocations: 4.281 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.8003, allocations: 15.11 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.8016, allocations: 1.341 MB / 1.219 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.8019, allocations: 0.6953 MB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.8019, allocations: 7.641 kB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.802, allocations: 27.69 kB / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.802, allocations: 0 / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.8266, allocations: 1.582 MB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.877, allocations: 5.859 kB / 1.221 GB, free: 12.29 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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: 14.845571375917643]