Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001432/0.001432, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.00163/0.00163, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 68.27 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3192, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006777/0.3261, allocations: 4.146 MB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.3303, allocations: 2.354 MB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.3307, allocations: 8 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.3325, allocations: 0.5529 MB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008841/0.3334, allocations: 294.7 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.3344, allocations: 340.6 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.3353, allocations: 0.5684 MB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.336, allocations: 364 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.3365, allocations: 235.2 kB / 1.027 GB, free: 1.785 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.3371, allocations: 283 kB / 1.027 GB, free: 1.508 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.863e-05/0.3372, allocations: 36 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.3378, allocations: 283.5 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.338, allocations: 179.5 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.3384, allocations: 214.9 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.3393, allocations: 0.6465 MB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3393, allocations: 0 / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3393, allocations: 3.938 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of Transformations before backend: time 2.001e-05/0.3393, allocations: 4 kB / 1.028 GB, free: 156 kB / 0.795 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.001453/0.3408, allocations: 0.7269 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3408, allocations: 12.03 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.3422, allocations: 160.3 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.3427, allocations: 316.5 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3427, allocations: 29.31 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.3428, allocations: 44.36 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/0.3438, allocations: 0.6373 MB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3439, allocations: 3.938 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.3439, allocations: 12 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.17e-05/0.344, allocations: 44.62 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008518/0.3449, allocations: 494.1 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.3486, allocations: 3.432 MB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.3493, allocations: 381.7 kB / 1.034 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.3496, allocations: 165.6 kB / 1.034 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3496, allocations: 4 kB / 1.034 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3496, allocations: 46.48 kB / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.3496, allocations: 0 / 1.035 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.004646/0.3543, allocations: 1.457 MB / 1.036 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3544, allocations: 81.11 kB / 1.036 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.3548, allocations: 340.4 kB / 1.036 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3548, allocations: 29.7 kB / 1.036 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.355, allocations: 263.2 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.3551, allocations: 90.75 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3552, allocations: 90.16 kB / 1.037 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3553, allocations: 342.8 kB / 1.037 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.3557, allocations: 195 kB / 1.037 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.3561, allocations: 346 kB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.3568, allocations: 0.544 MB / 1.038 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3568, allocations: 4 kB / 1.038 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002436/0.3593, allocations: 0.9207 MB / 1.039 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3593, allocations: 8 kB / 1.039 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3593, allocations: 7.984 kB / 1.039 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.3617, allocations: 0.4971 MB / 1.04 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.3621, allocations: 103.8 kB / 1.04 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/0.3678, allocations: 4.058 MB / 1.044 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.3683, allocations: 47.86 kB / 1.044 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.3683, allocations: 31.92 kB / 1.044 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004359/0.3688, allocations: 307.5 kB / 1.044 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003845/0.3692, allocations: 331.8 kB / 1.044 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000671/0.3699, allocations: 0.5184 MB / 1.045 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.3699, allocations: 0 / 1.045 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009011/0.3708, allocations: 0.5321 MB / 1.045 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3708, allocations: 10.5 kB / 1.045 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3708, allocations: 8 kB / 1.045 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.3708, allocations: 11.94 kB / 1.045 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.3713, allocations: 112.3 kB / 1.045 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3713, allocations: 15.94 kB / 1.045 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.3717, allocations: 43.81 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.3717, allocations: 31.98 kB / 1.046 GB, free: 13.19 MB / 0.8262 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.0001556/0.3719, allocations: 208.1 kB / 1.046 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.372, allocations: 31.62 kB / 1.046 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.3739, allocations: 0.6657 MB / 1.046 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3739, allocations: 0 / 1.046 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3739, allocations: 4 kB / 1.046 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3739, allocations: 3.984 kB / 1.046 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.3751, allocations: 0.6597 MB / 1.047 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3752, allocations: 4 kB / 1.047 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3754, allocations: 43.95 kB / 1.047 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.3769, allocations: 401.4 kB / 1.048 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.377, allocations: 7.938 kB / 1.048 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.3815, allocations: 3.766 MB / 1.051 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3815, allocations: 0 / 1.051 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3831, allocations: 0.83 MB / 1.052 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.3834, allocations: 148.6 kB / 1.052 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3834, allocations: 4 kB / 1.052 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3838, allocations: 43.94 kB / 1.052 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.3839, allocations: 15.97 kB / 1.052 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3839, allocations: 12 kB / 1.052 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000294/0.3842, allocations: 235 kB / 1.052 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3842, allocations: 0 / 1.052 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008789/0.3851, allocations: 196 kB / 1.053 GB, free: 5.516 MB / 0.8262 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.0001956/0.3853, allocations: 124.8 kB / 1.053 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.3871, allocations: 1.009 MB / 1.054 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3871, allocations: 4 kB / 1.054 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.3878, allocations: 481.8 kB / 1.054 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.3884, allocations: 83.91 kB / 1.054 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3898, allocations: 0.7834 MB / 1.055 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3903, allocations: 0.8509 MB / 1.056 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3904, allocations: 35.42 kB / 1.056 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3904, allocations: 0 / 1.056 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.0122/0.4026, allocations: 8.433 MB / 1.064 GB, free: 9.609 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches