Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001076/0.001076, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001031/0.001031, allocations: 173.3 kB / 23.49 MB, free: 1.059 MB / 18.57 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 0.963/0.963, allocations: 177.1 MB / 203.8 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 179] 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 2.063/2.063, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.144e-05, allocations: 5.938 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.004666/0.004688, allocations: 0.8172 MB / 0.879 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001204/0.004808, allocations: 40.5 kB / 0.879 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.275e-05/0.004861, allocations: 0 / 0.879 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.004896, allocations: 9.438 kB / 0.879 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.004986, allocations: 21.89 kB / 0.8791 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.688e-05/0.005033, allocations: 15.97 kB / 0.8791 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.005131, allocations: 59.84 kB / 0.8791 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005255, allocations: 32.88 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.005328, allocations: 35.91 kB / 0.8792 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.005385, allocations: 21 kB / 0.8792 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.005407, allocations: 4 kB / 0.8792 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.005417, allocations: 8 kB / 0.8792 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.005436, allocations: 16.48 kB / 0.8792 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.005468, allocations: 15.94 kB / 0.8793 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.737e-05/0.005566, allocations: 52.41 kB / 0.8793 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.005568, allocations: 1.062 kB / 0.8793 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005569, allocations: 0 / 0.8793 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.005573, allocations: 0 / 0.8793 GB, free: 5.453 MB / 0.8386 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.00037/0.005943, allocations: 405.4 kB / 0.8797 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.005979, allocations: 8.031 kB / 0.8797 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.006021, allocations: 20.83 kB / 0.8797 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.00618, allocations: 137.5 kB / 0.8799 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.006191, allocations: 4.375 kB / 0.8799 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.006205, allocations: 13.42 kB / 0.8799 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.006333, allocations: 93.53 kB / 0.88 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006341, allocations: 192 / 0.88 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006353, allocations: 5.906 kB / 0.88 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.006362, allocations: 384 / 0.88 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.42e-05/0.006416, allocations: 27.86 kB / 0.88 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.006837, allocations: 462.3 kB / 0.8804 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/0.00689, allocations: 61.47 kB / 0.8805 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.006923, allocations: 19.44 kB / 0.8805 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.006932, allocations: 4.031 kB / 0.8805 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.006955, allocations: 33.39 kB / 0.8806 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.006956, allocations: 0 / 0.8806 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.007112, allocations: 50.88 kB / 0.8806 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.007151, allocations: 77.11 kB / 0.8807 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/0.01028, allocations: 193 kB / 0.8809 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.01029, allocations: 25.7 kB / 0.8809 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.01035, allocations: 160.2 kB / 0.881 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.01036, allocations: 15.88 kB / 0.8811 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.0104, allocations: 19.38 kB / 0.8811 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01051, allocations: 0.4884 MB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.01052, allocations: 5.094 kB / 0.8816 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.01054, allocations: 23.38 kB / 0.8816 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.01058, allocations: 35.48 kB / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01058, allocations: 0 / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.874e-05/0.01065, allocations: 49.66 kB / 0.8817 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01067, allocations: 10.66 kB / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.01067, allocations: 3.938 kB / 0.8817 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01068, allocations: 0 / 0.8817 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.01074, allocations: 7.984 kB / 0.8817 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01074, allocations: 7.938 kB / 0.8817 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.01076, allocations: 4 kB / 0.8817 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.01077, allocations: 4.062 kB / 0.8817 GB, free: 2.777 MB / 0.8386 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 6.43e-05/0.01083, allocations: 160.6 kB / 0.8818 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.01087, allocations: 7.953 kB / 0.8819 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.01089, allocations: 7.469 kB / 0.8819 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01089, allocations: 0 / 0.8819 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.0109, allocations: 0 / 0.8819 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.0109, allocations: 7.938 kB / 0.8819 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.01123, allocations: 0.5383 MB / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01123, allocations: 0 / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.01124, allocations: 4 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01124, allocations: 4.062 kB / 0.8824 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.01125, allocations: 7.922 kB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01125, allocations: 4 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01125, allocations: 0 / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.334e-05/0.01132, allocations: 88.03 kB / 0.8825 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.01133, allocations: 7.938 kB / 0.8825 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.01135, allocations: 7.938 kB / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.01136, allocations: 0 / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.01137, allocations: 4 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.01138, allocations: 0 / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.01143, allocations: 147.2 kB / 0.8827 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01143, allocations: 0 / 0.8827 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001874/0.01162, allocations: 11.94 kB / 0.8827 GB, free: 1.688 MB / 0.8386 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 8.124e-05/0.0117, allocations: 95.25 kB / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.15e-05/0.01178, allocations: 23.61 kB / 0.8828 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01179, allocations: 0 / 0.8828 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.0118, allocations: 15.69 kB / 0.8828 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.01194, allocations: 12.12 kB / 0.8828 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.01221, allocations: 174.7 kB / 0.883 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.01225, allocations: 63.34 kB / 0.883 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.01227, allocations: 3.984 kB / 0.883 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.01229, allocations: 12.5 kB / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.01229, allocations: 0 / 0.883 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of Templates: time 0.005025/0.01732, allocations: 353 kB / 0.8834 GB, free: 0.875 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.38706782204099]