Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",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.001424/0.001424, allocations: 99.62 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.001548/0.001547, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.299/2.299, allocations: 223.2 MB / 239.9 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.247/4.247, allocations: 409.2 MB / 0.6838 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009043/0.0009045, allocations: 8 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261/1.262, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001787/1.264, allocations: 457 kB / 0.9813 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002435/1.266, allocations: 1.088 MB / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/1.266, allocations: 0 / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/1.267, allocations: 0 / 0.9824 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/1.267, allocations: 15.97 kB / 0.9824 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/1.267, allocations: 109.1 kB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/1.267, allocations: 55.92 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/1.268, allocations: 11.98 kB / 0.9826 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/1.268, allocations: 35.91 kB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/1.268, allocations: 31.84 kB / 0.9826 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/1.268, allocations: 11.98 kB / 0.9827 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/1.268, allocations: 19.98 kB / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/1.268, allocations: 0 / 0.9827 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/1.268, allocations: 37.7 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/1.268, allocations: 98 kB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.268, allocations: 3.938 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.777e-06/1.268, allocations: 3.938 kB / 0.9828 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.268, allocations: 0 / 0.9828 GB, free: 4.305 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007257/1.269, allocations: 376.9 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001022/1.269, allocations: 12.03 kB / 0.9832 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/1.269, allocations: 38.56 kB / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/1.269, allocations: 7.906 kB / 0.9832 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/1.27, allocations: 171 kB / 0.9834 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/1.27, allocations: 4 kB / 0.9834 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/1.27, allocations: 8 kB / 0.9834 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/1.27, allocations: 45.64 kB / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.27, allocations: 0 / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.27, allocations: 0 / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.27, allocations: 0 / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/1.27, allocations: 27.91 kB / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009031/1.271, allocations: 324.9 kB / 0.9838 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/1.271, allocations: 30.47 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/1.271, allocations: 4.062 kB / 0.9838 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/1.271, allocations: 67.33 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/1.271, allocations: 0 / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003078/1.272, allocations: 77.59 kB / 0.9839 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.272, allocations: 55.39 kB / 0.984 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/1.272, allocations: 121.8 kB / 0.9841 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/1.272, allocations: 33.7 kB / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.272, allocations: 96.03 kB / 0.9842 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/1.272, allocations: 3.906 kB / 0.9842 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/1.272, allocations: 4 kB / 0.9842 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.272, allocations: 318.8 kB / 0.9846 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/1.272, allocations: 35.98 kB / 0.9846 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/1.273, allocations: 66.47 kB / 0.9847 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/1.273, allocations: 69.69 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.273, allocations: 0 / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003946/1.273, allocations: 163.2 kB / 0.9849 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/1.273, allocations: 39.02 kB / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.273, allocations: 4 kB / 0.9849 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.273, allocations: 0 / 0.9849 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/1.273, allocations: 4 kB / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.273, allocations: 0 / 0.9849 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/1.274, allocations: 47.8 kB / 0.985 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/1.274, allocations: 12 kB / 0.985 GB, free: 1.824 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0002049/1.274, allocations: 113.8 kB / 0.9851 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/1.274, allocations: 7.953 kB / 0.9851 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/1.274, allocations: 7.891 kB / 0.9851 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.274, allocations: 3.938 kB / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.274, allocations: 0 / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.274, allocations: 0 / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/1.274, allocations: 169.7 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.274, allocations: 4 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/1.274, allocations: 7.984 kB / 0.9853 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.274, allocations: 7.953 kB / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.274, allocations: 0 / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.274, allocations: 0 / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/1.274, allocations: 0 / 0.9853 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/1.275, allocations: 85.03 kB / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/1.275, allocations: 92.94 kB / 0.9855 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.275, allocations: 3.953 kB / 0.9855 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/1.275, allocations: 4 kB / 0.9855 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/1.275, allocations: 4 kB / 0.9855 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/1.275, allocations: 0 / 0.9855 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.424e-05/1.275, allocations: 103.2 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.275, allocations: 0 / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003814/1.275, allocations: 20 kB / 0.9856 GB, free: 1.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006933/1.276, allocations: 0.6284 MB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005001/1.277, allocations: 139.3 kB / 0.9863 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.277, allocations: 0 / 0.9863 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/1.277, allocations: 19.98 kB / 0.9863 GB, free: 280 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/1.277, allocations: 19.94 kB / 0.9864 GB, free: 260 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/1.278, allocations: 0.6637 MB / 0.987 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/1.278, allocations: 0.6848 MB / 0.9877 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.456e-05/1.278, allocations: 4.188 kB / 0.9877 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/1.278, allocations: 19.42 kB / 0.9877 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/1.278, allocations: 0 / 0.9877 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/1.299, allocations: 2.113 MB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/1.299, allocations: 204.9 kB / 0.99 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.844, allocations: 0 / 0.99 GB, free: 12.64 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat