Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001796/0.001796, allocations: 106 kB / 16.45 MB, free: 6.453 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.002112/0.002112, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.586/1.586, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.4/3.4, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.0021/0.0021, allocations: 73.47 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002219/0.3455, allocations: 0.8247 MB / 1.322 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001215/0.3457, allocations: 43.78 kB / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.3457, allocations: 0 / 1.322 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.3458, allocations: 15.86 kB / 1.322 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.3458, allocations: 7.938 kB / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.493e-05/0.3459, allocations: 15.98 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.346, allocations: 67.72 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3462, allocations: 35.91 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.3463, allocations: 27.86 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.3463, allocations: 27.84 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3463, allocations: 8 kB / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.3464, allocations: 4 kB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.3464, allocations: 19.94 kB / 1.322 GB, free: 2.258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.3464, allocations: 31.73 kB / 1.322 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.3466, allocations: 83.8 kB / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3466, allocations: 0 / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3466, allocations: 0 / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3466, allocations: 0 / 1.322 GB, free: 2.145 MB / 1.014 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.0005109/0.3471, allocations: 387.1 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3472, allocations: 11.98 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.3472, allocations: 38.75 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3473, allocations: 12.89 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3475, allocations: 200.2 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3475, allocations: 384 / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3475, allocations: 12.38 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3477, allocations: 87.86 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3477, allocations: 3.938 kB / 1.323 GB, free: 1.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3477, allocations: 4 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3477, allocations: 4 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.3478, allocations: 47.91 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.3484, allocations: 436.6 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/0.3484, allocations: 37.34 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.3485, allocations: 21.78 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.3485, allocations: 0 / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3485, allocations: 34.56 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3485, allocations: 0 / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.3487, allocations: 65.47 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3487, allocations: 77.11 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3489, allocations: 160.3 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3489, allocations: 25.7 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.349, allocations: 108 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.349, allocations: 11.94 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.349, allocations: 17.72 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3492, allocations: 318.8 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.3492, allocations: 7.938 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.3492, allocations: 21.66 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.155e-05/0.3493, allocations: 25.72 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3493, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.238e-05/0.3493, allocations: 65.58 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3494, allocations: 7.938 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3494, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3494, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.3494, allocations: 4 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3495, allocations: 8.047 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.3495, allocations: 7.953 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3495, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 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.0001226/0.3496, allocations: 117.8 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.3497, allocations: 11.89 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.3497, allocations: 11.88 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3497, allocations: 0 / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3497, allocations: 0 / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3497, allocations: 3.938 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.3501, allocations: 466.8 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3501, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.3502, allocations: 15.92 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3502, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.3502, allocations: 4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3502, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3502, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.3503, allocations: 85.91 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3504, allocations: 92.98 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3504, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.3504, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.3504, allocations: 4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.3504, allocations: 0 / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001128/0.3505, allocations: 132.8 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3505, allocations: 3.938 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001934/0.3507, allocations: 8 kB / 1.325 GB, free: 14.59 MB / 1.029 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.0004657/0.3512, allocations: 0.6133 MB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3513, allocations: 23.92 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3513, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.3513, allocations: 4 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.3515, allocations: 11.27 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3529, allocations: 1.334 MB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.3532, allocations: 0.6924 MB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.3533, allocations: 8.422 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.3533, allocations: 19.44 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3533, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.3778, allocations: 1.588 MB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.493, allocations: 12.69 kB / 1.329 GB, free: 10.23 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.50121453893371]