Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime",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.001262/0.001262, allocations: 99.86 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.001599/0.001599, allocations: 177.3 kB / 15.94 MB, free: 228 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.836/1.836, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.442/3.442, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005554/0.0005555, allocations: 11.98 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.148, allocations: 146.8 MB / 0.9809 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.001554/1.15, allocations: 0.8293 MB / 0.9817 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002815/1.152, allocations: 1.896 MB / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/1.152, allocations: 0 / 0.9836 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/1.153, allocations: 7.875 kB / 0.9836 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000303/1.153, allocations: 99.73 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/1.157, allocations: 1.274 MB / 0.9849 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001629/1.158, allocations: 0.5733 MB / 0.9855 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/1.159, allocations: 24.75 kB / 0.9855 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009156/1.16, allocations: 423.3 kB / 0.9859 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/1.16, allocations: 331 kB / 0.9862 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/1.16, allocations: 60 kB / 0.9863 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/1.161, allocations: 75.98 kB / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/1.161, allocations: 51.81 kB / 0.9864 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/1.161, allocations: 125.5 kB / 0.9865 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009169/1.162, allocations: 0.6606 MB / 0.9871 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.162, allocations: 4 kB / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.286e-06/1.162, allocations: 0 / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.162, allocations: 0 / 0.9872 GB, free: 15.9 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00138/1.164, allocations: 1 MB / 0.9881 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.491e-05/1.164, allocations: 12.03 kB / 0.9881 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.535e-05/1.164, allocations: 42.55 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/1.164, allocations: 63.62 kB / 0.9882 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/1.164, allocations: 215.2 kB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.797e-05/1.164, allocations: 39.98 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/1.165, allocations: 63.98 kB / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/1.165, allocations: 222.2 kB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.165, allocations: 0 / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/1.165, allocations: 4 kB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.165, allocations: 7.984 kB / 0.9888 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/1.166, allocations: 71.78 kB / 0.9888 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/1.167, allocations: 0.8366 MB / 0.9897 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/1.167, allocations: 327.2 kB / 0.99 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/1.167, allocations: 8 kB / 0.99 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/1.168, allocations: 468.5 kB / 0.9904 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/1.168, allocations: 0 / 0.9904 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001284/1.169, allocations: 0.5579 MB / 0.991 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003475/1.169, allocations: 435.2 kB / 0.9914 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/1.17, allocations: 300.2 kB / 0.9917 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/1.17, allocations: 69.69 kB / 0.9917 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/1.17, allocations: 157.3 kB / 0.9919 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.17, allocations: 98.84 kB / 0.992 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.17, allocations: 35.98 kB / 0.992 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.171, allocations: 346.8 kB / 0.9923 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.172, allocations: 421.3 kB / 0.9927 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.173, allocations: 0.7028 MB / 0.9934 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.174, allocations: 0.8215 MB / 0.9942 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.174, allocations: 4 kB / 0.9942 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003161/1.177, allocations: 1.709 MB / 0.9959 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005692/1.178, allocations: 477.5 kB / 0.9964 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/1.178, allocations: 15.95 kB / 0.9964 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.443e-05/1.178, allocations: 12 kB / 0.9964 GB, free: 5.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/1.178, allocations: 39.8 kB / 0.9964 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.01e-05/1.178, allocations: 19.92 kB / 0.9964 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/1.181, allocations: 0.5696 MB / 0.997 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/1.182, allocations: 99.91 kB / 0.9971 GB, free: 4.625 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004406/1.182, allocations: 217.6 kB / 0.9973 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/1.182, allocations: 35.62 kB / 0.9973 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.202e-05/1.182, allocations: 38.14 kB / 0.9974 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.182, allocations: 11.95 kB / 0.9974 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/1.182, allocations: 4 kB / 0.9974 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.182, allocations: 7.984 kB / 0.9974 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/1.183, allocations: 337.3 kB / 0.9977 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.183, allocations: 4 kB / 0.9977 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/1.183, allocations: 19.92 kB / 0.9977 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.183, allocations: 11.94 kB / 0.9978 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/1.183, allocations: 19.98 kB / 0.9978 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/1.183, allocations: 11.94 kB / 0.9978 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-05/1.183, allocations: 7.938 kB / 0.9978 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/1.184, allocations: 0.6683 MB / 0.9984 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.184, allocations: 124.5 kB / 0.9986 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/1.184, allocations: 15.98 kB / 0.9986 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/1.184, allocations: 12 kB / 0.9986 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.184, allocations: 63.83 kB / 0.9987 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/1.184, allocations: 27.98 kB / 0.9987 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000223/1.185, allocations: 191.1 kB / 0.9989 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.185, allocations: 0 / 0.9989 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000767/1.185, allocations: 196 kB / 0.999 GB, free: 2.406 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001847/1.187, allocations: 2.212 MB / 1.001 GB, free: 68 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003237/1.191, allocations: 1.751 MB / 1.003 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.191, allocations: 4 kB / 1.003 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/1.191, allocations: 185.1 kB / 1.003 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000756/1.192, allocations: 108.9 kB / 1.003 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/1.197, allocations: 7.838 MB / 1.011 GB, free: 5.719 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/1.198, allocations: 0.7803 MB / 1.012 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001988/1.198, allocations: 42.97 kB / 1.012 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/1.198, allocations: 107.4 kB / 1.012 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of SimCode: time 1.242e-06/1.198, allocations: 3.938 kB / 1.012 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/1.238, allocations: 13.66 MB / 1.025 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.238, allocations: 223 kB / 1.025 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.952, allocations: 64 / 1.025 GB, free: 7.223 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime_fmu --startTime=-10 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulseNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime_res.mat does not exist to compare? outputFormat=mat