Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.66/2.66, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 12 kB / 0.8378 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.8152, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001054/0.8163, allocations: 0.507 MB / 0.9816 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.8165, allocations: 43.72 kB / 0.9817 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.8166, allocations: 0 / 0.9817 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.8166, allocations: 3.938 kB / 0.9817 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.49e-05/0.8167, allocations: 15.92 kB / 0.9817 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.68e-05/0.8167, allocations: 8 kB / 0.9817 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.8169, allocations: 59.84 kB / 0.9818 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.817, allocations: 32.14 kB / 0.9818 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.8171, allocations: 15.88 kB / 0.9818 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.8171, allocations: 23.86 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.8172, allocations: 0 / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.8172, allocations: 4 kB / 0.9818 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.8172, allocations: 3.938 kB / 0.9818 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.8172, allocations: 37.64 kB / 0.9819 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.941e-05/0.8173, allocations: 54.12 kB / 0.9819 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8173, allocations: 0 / 0.9819 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8173, allocations: 0 / 0.9819 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.8173, allocations: 0 / 0.9819 GB, free: 5.504 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.0004293/0.8178, allocations: 379 kB / 0.9823 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8178, allocations: 8.031 kB / 0.9823 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.8179, allocations: 42.5 kB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.8179, allocations: 7.906 kB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.8182, allocations: 190.9 kB / 0.9825 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8182, allocations: 8 kB / 0.9825 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.8182, allocations: 8 kB / 0.9825 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.8184, allocations: 96.19 kB / 0.9826 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8184, allocations: 7.984 kB / 0.9826 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.8184, allocations: 4 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.8184, allocations: 4 kB / 0.9827 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.8185, allocations: 31.92 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.8192, allocations: 436.6 kB / 0.9831 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.433e-05/0.8193, allocations: 45.28 kB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.8193, allocations: 17.78 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.8193, allocations: 0 / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.8194, allocations: 34.56 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.735e-06/0.8194, allocations: 0 / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002298/0.8196, allocations: 61.48 kB / 0.9833 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.8197, allocations: 81.05 kB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.8199, allocations: 170.6 kB / 0.9835 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.8199, allocations: 25.7 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.82, allocations: 104 kB / 0.9836 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.82, allocations: 11.83 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.82, allocations: 4 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8202, allocations: 323.1 kB / 0.9839 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.8202, allocations: 4 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.8202, allocations: 17.72 kB / 0.984 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.8203, allocations: 8 kB / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8203, allocations: 0 / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.967e-05/0.8204, allocations: 61.53 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8204, allocations: 4 kB / 0.984 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.8204, allocations: 4.062 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8204, allocations: 0 / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.8205, allocations: 8 kB / 0.984 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8205, allocations: 3.953 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.8205, allocations: 0 / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.8206, allocations: 4 kB / 0.9841 GB, free: 3.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.8206, allocations: 113.8 kB / 0.9842 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.8207, allocations: 11.89 kB / 0.9842 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.8207, allocations: 7.875 kB / 0.9842 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.8207, allocations: 8 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8208, allocations: 3.938 kB / 0.9842 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8208, allocations: 3.953 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.8212, allocations: 470.7 kB / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8212, allocations: 0 / 0.9846 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.8212, allocations: 4 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.8212, allocations: 0 / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.8212, allocations: 19.88 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8212, allocations: 0 / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8213, allocations: 4 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/0.8213, allocations: 69.91 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.8214, allocations: 93 kB / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.8214, allocations: 0 / 0.9848 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.8215, allocations: 7.984 kB / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.8215, allocations: 0 / 0.9848 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.8215, allocations: 8 kB / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.579e-05/0.8216, allocations: 117.1 kB / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8216, allocations: 0 / 0.985 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001966/0.8218, allocations: 11.94 kB / 0.985 GB, free: 2.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003885/0.8222, allocations: 0.6171 MB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.8223, allocations: 15.94 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8223, allocations: 0 / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.8223, allocations: 4 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.8225, allocations: 17.66 kB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008742/0.8234, allocations: 0.5442 MB / 0.9861 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.8237, allocations: 0.6965 MB / 0.9868 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.8237, allocations: 4.438 kB / 0.9868 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.8238, allocations: 27.5 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8238, allocations: 0 / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.8351, allocations: 1.491 MB / 0.9883 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.8353, allocations: 205.4 kB / 0.9885 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.586, allocations: 0 / 0.9885 GB, free: 14.39 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat does not exist to compare? outputFormat=mat