Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.001324/0.001325, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001745/0.001744, allocations: 177.3 kB / 15.94 MB, free: 220 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.601/1.601, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.019/3.019, allocations: 409.2 MB / 0.6838 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003875, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.003, allocations: 146.8 MB / 0.9809 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001155/1.004, allocations: 0.5824 MB / 0.9815 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001264/1.005, allocations: 0.878 MB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/1.005, allocations: 0 / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/1.005, allocations: 11.86 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.725e-05/1.005, allocations: 4 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/1.006, allocations: 51.92 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/1.006, allocations: 75.81 kB / 0.9824 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/1.006, allocations: 41.47 kB / 0.9825 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/1.006, allocations: 39.83 kB / 0.9825 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/1.006, allocations: 43.77 kB / 0.9826 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/1.007, allocations: 4 kB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.128e-05/1.007, allocations: 12 kB / 0.9826 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/1.007, allocations: 19.86 kB / 0.9826 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/1.007, allocations: 41.64 kB / 0.9826 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/1.007, allocations: 91.77 kB / 0.9827 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.007, allocations: 0 / 0.9827 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.629e-06/1.007, allocations: 0 / 0.9827 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.183e-05/1.007, allocations: 0 / 0.9827 GB, free: 4.594 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009669/1.008, allocations: 437.4 kB / 0.9831 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.008, allocations: 8.031 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/1.008, allocations: 46.55 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/1.008, allocations: 19.75 kB / 0.9832 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/1.009, allocations: 213.5 kB / 0.9834 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/1.009, allocations: 11.98 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/1.009, allocations: 12 kB / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/1.009, allocations: 161.5 kB / 0.9836 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.009, allocations: 0 / 0.9836 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.009, allocations: 8 kB / 0.9836 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/1.009, allocations: 4 kB / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/1.009, allocations: 135.9 kB / 0.9837 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/1.01, allocations: 0.4922 MB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/1.011, allocations: 94.48 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/1.011, allocations: 4 kB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.011, allocations: 34.56 kB / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.011, allocations: 0 / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.00054/1.011, allocations: 173.6 kB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.011, allocations: 51.41 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/1.011, allocations: 191.5 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.012, allocations: 33.7 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.012, allocations: 115.9 kB / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.012, allocations: 35.53 kB / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/1.012, allocations: 0 / 0.9849 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.012, allocations: 326.8 kB / 0.9852 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/1.012, allocations: 47.97 kB / 0.9853 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/1.012, allocations: 43.97 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/1.012, allocations: 47.98 kB / 0.9854 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.012, allocations: 4 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003523/1.013, allocations: 161.4 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.013, allocations: 4 kB / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.013, allocations: 0 / 0.9855 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.013, allocations: 4 kB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/1.013, allocations: 27.92 kB / 0.9856 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.013, allocations: 384 / 0.9856 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/1.013, allocations: 31.83 kB / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/1.013, allocations: 0 / 0.9856 GB, free: 1.438 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 0.0001221/1.013, allocations: 121.8 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/1.013, allocations: 19.7 kB / 0.9857 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/1.014, allocations: 154.9 kB / 0.9859 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.014, allocations: 3.938 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.014, allocations: 0 / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.014, allocations: 0 / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/1.014, allocations: 476.8 kB / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.014, allocations: 0 / 0.9863 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/1.014, allocations: 23.98 kB / 0.9864 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.014, allocations: 0 / 0.9864 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.015, allocations: 7.984 kB / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.015, allocations: 0 / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.015, allocations: 0 / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/1.015, allocations: 295 kB / 0.9866 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/1.015, allocations: 85.02 kB / 0.9867 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/1.015, allocations: 8 kB / 0.9867 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/1.015, allocations: 15.98 kB / 0.9867 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/1.015, allocations: 23.88 kB / 0.9868 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.015, allocations: 4 kB / 0.9868 GB, free: 80 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001338/1.015, allocations: 149.1 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002564/1.016, allocations: 20 kB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007938/1.016, allocations: 1.036 MB / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003185/1.017, allocations: 108.2 kB / 0.988 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.017, allocations: 3.938 kB / 0.988 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/1.017, allocations: 55.91 kB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/1.017, allocations: 12.19 kB / 0.9881 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/1.019, allocations: 0.8621 MB / 0.989 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/1.02, allocations: 0.7239 MB / 0.9897 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.256e-05/1.02, allocations: 17.06 kB / 0.9897 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/1.02, allocations: 43.42 kB / 0.9897 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of SimCode: time 1.303e-06/1.02, allocations: 0 / 0.9897 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/1.035, allocations: 2.437 MB / 0.9921 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.035, allocations: 191 kB / 0.9923 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.652, allocations: 0 / 0.9923 GB, free: 10.39 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat does not exist to compare? outputFormat=mat