Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.0009739/0.0009739, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001006/0.001006, allocations: 169 kB / 23.27 MB, free: 1.223 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.9217/0.9217, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.317/2.317, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.274e-05, allocations: 9.203 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002062/0.002095, allocations: 0.8101 MB / 0.8906 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.002229, allocations: 39.78 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.002284, allocations: 4 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.002321, allocations: 7.875 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.002403, allocations: 19.81 kB / 0.8906 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-05/0.002449, allocations: 15.97 kB / 0.8906 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.002552, allocations: 63.83 kB / 0.8907 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.002664, allocations: 27.98 kB / 0.8907 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.002771, allocations: 43.83 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.975e-05/0.00281, allocations: 19.92 kB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.002827, allocations: 4 kB / 0.8908 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002837, allocations: 4 kB / 0.8908 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.00286, allocations: 27.84 kB / 0.8908 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.002885, allocations: 11.94 kB / 0.8908 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.002983, allocations: 39.83 kB / 0.8909 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.002986, allocations: 0 / 0.8909 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002987, allocations: 0 / 0.8909 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.002991, allocations: 0 / 0.8909 GB, free: 8.57 MB / 0.8542 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.0003759/0.003367, allocations: 412.2 kB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.003411, allocations: 8.625 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.003448, allocations: 20.84 kB / 0.8913 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.003582, allocations: 144.4 kB / 0.8914 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.003598, allocations: 12.36 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003608, allocations: 8.375 kB / 0.8914 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.003715, allocations: 77.61 kB / 0.8915 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.003721, allocations: 192 / 0.8915 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.003731, allocations: 8.375 kB / 0.8915 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003737, allocations: 384 / 0.8915 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.003775, allocations: 23.86 kB / 0.8916 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.004274, allocations: 0.7186 MB / 0.8923 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.00438, allocations: 273.4 kB / 0.8925 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.004423, allocations: 131 kB / 0.8926 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.004461, allocations: 127.1 kB / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.004515, allocations: 156.5 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.004517, allocations: 4 kB / 0.8929 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.004587, allocations: 29.66 kB / 0.8929 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.004654, allocations: 174.6 kB / 0.8931 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.004786, allocations: 201.7 kB / 0.8933 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.004797, allocations: 25.7 kB / 0.8933 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.004888, allocations: 174.5 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/0.00489, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.004935, allocations: 31.31 kB / 0.8935 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.00508, allocations: 0.4923 MB / 0.894 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.005098, allocations: 8 kB / 0.894 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.005153, allocations: 77.42 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.005236, allocations: 89.36 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005238, allocations: 0 / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001361/0.005374, allocations: 77.56 kB / 0.8942 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.005389, allocations: 8 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005394, allocations: 0 / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.005411, allocations: 7.984 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.005469, allocations: 15.94 kB / 0.8943 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.005474, allocations: 4 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.005515, allocations: 11.89 kB / 0.8943 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.00552, allocations: 4.25 kB / 0.8943 GB, free: 4.766 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001206/0.00564, allocations: 287.6 kB / 0.8946 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.005713, allocations: 156.8 kB / 0.8947 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.005775, allocations: 152.7 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-05/0.005848, allocations: 268 kB / 0.8951 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-05/0.005921, allocations: 272.1 kB / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.546e-05/0.005997, allocations: 279.9 kB / 0.8956 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.006237, allocations: 488.5 kB / 0.8961 GB, free: 2.816 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.431e-05/0.006281, allocations: 148.9 kB / 0.8963 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.006323, allocations: 148.8 kB / 0.8964 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.006395, allocations: 268.1 kB / 0.8967 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.006468, allocations: 272 kB / 0.8969 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.479e-05/0.006543, allocations: 268.1 kB / 0.8972 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.23e-05/0.006615, allocations: 272.1 kB / 0.8974 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.006777, allocations: 456.1 kB / 0.8979 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.006838, allocations: 160.7 kB / 0.898 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.006922, allocations: 268.1 kB / 0.8983 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.007018, allocations: 148.9 kB / 0.8984 GB, free: 376 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.007099, allocations: 268 kB / 0.8987 GB, free: 100 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.007157, allocations: 148.9 kB / 0.8988 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.908e-05/0.007226, allocations: 146.6 kB / 0.8989 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.007226, allocations: 4 kB / 0.899 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002738/0.0075, allocations: 8 kB / 0.899 GB, free: 15.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001717/0.007672, allocations: 214.4 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.714e-05/0.007759, allocations: 39.48 kB / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007761, allocations: 0 / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.007763, allocations: 0 / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.008188, allocations: 0.7106 MB / 0.8999 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.008507, allocations: 276.2 kB / 0.9002 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.00855, allocations: 59.34 kB / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.008591, allocations: 8.719 kB / 0.9002 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.008634, allocations: 70.2 kB / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of SimCode: time 1.272e-06/0.008635, allocations: 0 / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.002362/0.011, allocations: 340.8 kB / 0.9006 GB, free: 14.03 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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.078513579908758]