Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006173/0.006173, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001414/0.001414, allocations: 184.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.83 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3212, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005641/0.3269, allocations: 4.158 MB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003664/0.3306, allocations: 2.365 MB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.3308, allocations: 11.94 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.3323, allocations: 0.5433 MB / 1.215 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00063/0.3329, allocations: 290.6 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.3338, allocations: 351.1 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006685/0.3345, allocations: 0.5529 MB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.3351, allocations: 363.8 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.3355, allocations: 247.1 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.336, allocations: 279.1 kB / 1.217 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.3361, allocations: 36 kB / 1.217 GB, free: 468 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.3366, allocations: 283.5 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3368, allocations: 175.6 kB / 1.217 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3371, allocations: 215.1 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.3378, allocations: 0.6618 MB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3378, allocations: 0 / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3378, allocations: 0 / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3378, allocations: 0 / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00115/0.339, allocations: 0.7292 MB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.339, allocations: 8.031 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.3402, allocations: 160.2 kB / 1.219 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3407, allocations: 328.6 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3407, allocations: 25.31 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.3408, allocations: 40.36 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008965/0.3417, allocations: 0.638 MB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.3417, allocations: 8 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.3418, allocations: 12 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-05/0.3419, allocations: 40.62 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/0.3426, allocations: 498.1 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.3461, allocations: 3.42 MB / 1.224 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.3468, allocations: 374.8 kB / 1.224 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.347, allocations: 169.6 kB / 1.224 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.3471, allocations: 4 kB / 1.224 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3471, allocations: 42.56 kB / 1.224 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.3471, allocations: 0 / 1.224 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26): time 0.004238/0.3514, allocations: 1.456 MB / 1.226 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3514, allocations: 85.09 kB / 1.226 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.3518, allocations: 332.4 kB / 1.226 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.3518, allocations: 29.7 kB / 1.226 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.352, allocations: 267.2 kB / 1.226 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/0.3521, allocations: 94.66 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3522, allocations: 98.14 kB / 1.227 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3524, allocations: 338.8 kB / 1.227 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.3527, allocations: 191 kB / 1.227 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.3531, allocations: 343.9 kB / 1.227 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.354, allocations: 0.5473 MB / 1.228 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.354, allocations: 8 kB / 1.228 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002322/0.3563, allocations: 0.9159 MB / 1.229 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3563, allocations: 8 kB / 1.229 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3563, allocations: 11.94 kB / 1.229 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/0.3584, allocations: 0.5052 MB / 1.229 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.3588, allocations: 91.81 kB / 1.229 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005372/0.3642, allocations: 4.051 MB / 1.233 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.3648, allocations: 47.8 kB / 1.233 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.3648, allocations: 24 kB / 1.233 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004834/0.3653, allocations: 309.1 kB / 1.234 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004037/0.3657, allocations: 339.8 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006704/0.3664, allocations: 0.5114 MB / 1.235 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.796e-06/0.3664, allocations: 0 / 1.235 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008853/0.3673, allocations: 0.5357 MB / 1.235 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3673, allocations: 8.781 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3673, allocations: 8 kB / 1.235 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3674, allocations: 19.88 kB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3678, allocations: 115.8 kB / 1.235 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.3678, allocations: 15.92 kB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.3682, allocations: 43.8 kB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.3682, allocations: 24 kB / 1.235 GB, free: 12.17 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.3684, allocations: 208.1 kB / 1.236 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3685, allocations: 35.62 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.3702, allocations: 0.6701 MB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3702, allocations: 4 kB / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3702, allocations: 0 / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3702, allocations: 0 / 1.236 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.3712, allocations: 0.6597 MB / 1.237 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3712, allocations: 4 kB / 1.237 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.3714, allocations: 43.91 kB / 1.237 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.3728, allocations: 401.2 kB / 1.237 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.3728, allocations: 8 kB / 1.237 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/0.3769, allocations: 3.761 MB / 1.241 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3769, allocations: 3.984 kB / 1.241 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.3785, allocations: 0.8296 MB / 1.242 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.3786, allocations: 144.6 kB / 1.242 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.3787, allocations: 4 kB / 1.242 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.379, allocations: 43.94 kB / 1.242 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.3791, allocations: 20.16 kB / 1.242 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.3791, allocations: 8 kB / 1.242 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002956/0.3794, allocations: 239 kB / 1.242 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3794, allocations: 0 / 1.242 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008821/0.3803, allocations: 196 kB / 1.242 GB, free: 4.496 MB / 0.9981 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.3805, allocations: 115.2 kB / 1.242 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.3822, allocations: 0.9804 MB / 1.243 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3822, allocations: 4.688 kB / 1.243 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.383, allocations: 481.4 kB / 1.244 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.3836, allocations: 81.81 kB / 1.244 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.3848, allocations: 0.7459 MB / 1.245 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3853, allocations: 0.8431 MB / 1.246 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003513/0.3856, allocations: 139.1 kB / 1.246 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.3857, allocations: 31.44 kB / 1.246 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.3857, allocations: 0 / 1.246 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of Templates: time 0.7119/1.098, allocations: 7.452 MB / 1.253 GB, free: 37.21 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches