Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 101.6 kB / 16.37 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 195.8 kB / 17.31 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.34 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002266/0.3176, allocations: 0.8231 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.3178, allocations: 43.78 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.3178, allocations: 0 / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.156e-05/0.3179, allocations: 11.88 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.849e-05/0.318, allocations: 7.922 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.611e-05/0.318, allocations: 19.98 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3182, allocations: 63.78 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3183, allocations: 35.98 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.3184, allocations: 27.84 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.3185, allocations: 27.86 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3185, allocations: 12 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.3185, allocations: 4 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.3186, allocations: 15.92 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.3186, allocations: 35.75 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3187, allocations: 83.56 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3187, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3187, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3187, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7325 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.0004909/0.3192, allocations: 379.2 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3193, allocations: 12.03 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.3193, allocations: 16.83 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3196, allocations: 188.2 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3196, allocations: 8.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3196, allocations: 4.375 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3198, allocations: 97.42 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3198, allocations: 192 / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3198, allocations: 7.922 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3198, allocations: 0 / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.07e-05/0.3199, allocations: 47.91 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.3205, allocations: 424.7 kB / 0.9534 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.3206, allocations: 41.19 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.3206, allocations: 25.84 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3206, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3207, allocations: 30.56 kB / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3207, allocations: 0 / 0.9535 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.3209, allocations: 61.47 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3209, allocations: 77.11 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3211, allocations: 172.4 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3211, allocations: 25.7 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.3212, allocations: 104 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.3212, allocations: 11.89 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3212, allocations: 13.72 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3214, allocations: 322.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.3214, allocations: 11.94 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.3214, allocations: 21.66 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.3215, allocations: 29.7 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3215, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.546e-05/0.3216, allocations: 53.55 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3216, allocations: 8 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3216, allocations: 3.938 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3216, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.3217, allocations: 12.05 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3217, allocations: 4 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.3217, allocations: 11.78 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3217, allocations: 4 kB / 0.9544 GB, free: 4.398 MB / 0.7325 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.856e-05/0.3218, allocations: 113.8 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3219, allocations: 7.906 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3219, allocations: 11.81 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3219, allocations: 4 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3219, allocations: 3.984 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3219, allocations: 4 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.3223, allocations: 470.8 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3223, allocations: 0 / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.3224, allocations: 11.94 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3224, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3224, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3224, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3224, allocations: 7.984 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.802e-05/0.3225, allocations: 81.89 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/0.3226, allocations: 85.02 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3226, allocations: 4 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.3226, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.3226, allocations: 3.984 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3226, allocations: 0 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.367e-05/0.3227, allocations: 124.7 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.873e-06/0.3227, allocations: 0 / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001833/0.3229, allocations: 11.94 kB / 0.9553 GB, free: 3.359 MB / 0.7325 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.0001375/0.3231, allocations: 99.25 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.585e-05/0.3232, allocations: 12 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3232, allocations: 0 / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.3232, allocations: 20.06 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.3234, allocations: 16.72 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.3237, allocations: 162.8 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.324, allocations: 0.6961 MB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.3241, allocations: 8.422 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.3241, allocations: 15.44 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3241, allocations: 0 / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.002938/0.3271, allocations: 452.5 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches