Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008692/0.0008692, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009001/0.0009001, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8792/0.8792, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.687/1.687, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.981 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.841e-05, allocations: 2.281 kB / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001426/0.001445, allocations: 0.7858 MB / 0.9817 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 9.603e-05/0.001541, allocations: 39.78 kB / 0.9818 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.001583, allocations: 4 kB / 0.9818 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.001619, allocations: 11.86 kB / 0.9818 GB, free: 0.6094 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 6.771e-05/0.001686, allocations: 11.94 kB / 0.9818 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 3.678e-05/0.001723, allocations: 15.98 kB / 0.9818 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.001816, allocations: 71.77 kB / 0.9819 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.001933, allocations: 27.97 kB / 0.9819 GB, free: 496 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.002001, allocations: 31.92 kB / 0.9819 GB, free: 464 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.002056, allocations: 23.89 kB / 0.982 GB, free: 440 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.002079, allocations: 8 kB / 0.982 GB, free: 432 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-06/0.002086, allocations: 8 kB / 0.982 GB, free: 424 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.002103, allocations: 7.938 kB / 0.982 GB, free: 416 kB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.00214, allocations: 27.91 kB / 0.982 GB, free: 388 kB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.002243, allocations: 79.62 kB / 0.9821 GB, free: 308 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002245, allocations: 4 kB / 0.9821 GB, free: 304 kB / 0.8855 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002246, allocations: 0 / 0.9821 GB, free: 304 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00225, allocations: 0 / 0.9821 GB, free: 304 kB / 0.8855 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.0003739/0.002624, allocations: 302 kB / 0.9824 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.002666, allocations: 8.031 kB / 0.9824 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.002699, allocations: 42.73 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.002725, allocations: 16.84 kB / 0.9825 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.002882, allocations: 133.6 kB / 0.9826 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002892, allocations: 8.312 kB / 0.9826 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.002902, allocations: 12.38 kB / 0.9826 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.003036, allocations: 91.86 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003044, allocations: 192 / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.003054, allocations: 4.375 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.003061, allocations: 8.125 kB / 0.9827 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.003132, allocations: 39.92 kB / 0.9827 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.003534, allocations: 391.7 kB / 0.9831 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.003585, allocations: 41.28 kB / 0.9832 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.003613, allocations: 17.84 kB / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.00362, allocations: 4 kB / 0.9832 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.003641, allocations: 38.55 kB / 0.9832 GB, free: 15 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.003643, allocations: 0 / 0.9832 GB, free: 15 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.003778, allocations: 57.58 kB / 0.9833 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.003813, allocations: 81.05 kB / 0.9833 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.003917, allocations: 154.3 kB / 0.9835 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.003929, allocations: 29.7 kB / 0.9835 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.003981, allocations: 104 kB / 0.9836 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.003988, allocations: 7.953 kB / 0.9836 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.004015, allocations: 25.92 kB / 0.9836 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.004099, allocations: 318.8 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.004112, allocations: 4 kB / 0.984 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.004132, allocations: 17.72 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.004165, allocations: 33.64 kB / 0.984 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004167, allocations: 0 / 0.984 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.015e-05/0.004227, allocations: 57.59 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.004241, allocations: 4 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.004246, allocations: 4.062 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.004258, allocations: 4 kB / 0.9841 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.004308, allocations: 11.92 kB / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.004312, allocations: 0 / 0.9841 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.004332, allocations: 7.938 kB / 0.9841 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.004336, allocations: 0 / 0.9841 GB, free: 14.02 MB / 0.9011 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.301e-05/0.004399, allocations: 113.8 kB / 0.9842 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.004422, allocations: 11.89 kB / 0.9842 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.004443, allocations: 11.81 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.004446, allocations: 3.984 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.004452, allocations: 7.938 kB / 0.9842 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.004454, allocations: 4 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.004723, allocations: 433.9 kB / 0.9847 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.004725, allocations: 3.938 kB / 0.9847 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.004736, allocations: 7.938 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004738, allocations: 0 / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.004744, allocations: 0 / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.004745, allocations: 0 / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.004748, allocations: 4 kB / 0.9847 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.841e-05/0.004806, allocations: 77.94 kB / 0.9847 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.004826, allocations: 19.98 kB / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.004835, allocations: 0 / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-06/0.004845, allocations: 0 / 0.9848 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.004858, allocations: 11.92 kB / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.004859, allocations: 0 / 0.9848 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.004923, allocations: 121.7 kB / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.004924, allocations: 0 / 0.9849 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001333/0.005057, allocations: 8 kB / 0.9849 GB, free: 13.11 MB / 0.9011 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.0002433/0.0053, allocations: 0.6094 MB / 0.9855 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.005371, allocations: 23.94 kB / 0.9855 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.005373, allocations: 0 / 0.9855 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-06/0.005379, allocations: 4 kB / 0.9855 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.0055, allocations: 14.28 kB / 0.9855 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.006416, allocations: 1.343 MB / 0.9868 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.006478, allocations: 83.56 kB / 0.9869 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.006509, allocations: 4.5 kB / 0.9869 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.006559, allocations: 28.48 kB / 0.987 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of SimCode: time 6.91e-07/0.006559, allocations: 0 / 0.987 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.02291, allocations: 2.235 MB / 0.9891 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/6.661, allocations: 4.062 kB / 0.9891 GB, free: 8.762 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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: 10.578245125710964]