Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.478/1.478, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 17.11 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3055, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005665/0.3112, allocations: 4.283 MB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.3154, allocations: 2.353 MB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.3158, allocations: 4 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.3162, allocations: 59.5 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009723/0.3172, allocations: 278.8 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3183, allocations: 319.4 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.3193, allocations: 0.8064 MB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.3208, allocations: 0.6481 MB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.3212, allocations: 183.2 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.3218, allocations: 263 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.684e-05/0.3219, allocations: 20 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.3225, allocations: 327.4 kB / 1.069 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3227, allocations: 151.6 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.323, allocations: 224.6 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.3238, allocations: 0.4989 MB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3238, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3239, allocations: 4 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.926e-05/0.3239, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 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.001427/0.3253, allocations: 0.628 MB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3254, allocations: 15.97 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.3267, allocations: 168.2 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.3273, allocations: 328.3 kB / 1.071 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.3273, allocations: 29.36 kB / 1.071 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.3274, allocations: 36.38 kB / 1.071 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3285, allocations: 0.638 MB / 1.071 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3286, allocations: 3.984 kB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.3286, allocations: 19.98 kB / 1.071 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.489e-05/0.3287, allocations: 40.62 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.3296, allocations: 498.1 kB / 1.072 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.3335, allocations: 3.436 MB / 1.075 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.3343, allocations: 373 kB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.3345, allocations: 167.5 kB / 1.076 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.3346, allocations: 15.86 kB / 1.076 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3346, allocations: 38.56 kB / 1.076 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.3346, allocations: 4 kB / 1.076 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.005044/0.3397, allocations: 1.464 MB / 1.077 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.3398, allocations: 81.11 kB / 1.077 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.3402, allocations: 336.3 kB / 1.078 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.3403, allocations: 29.7 kB / 1.078 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3405, allocations: 255.4 kB / 1.078 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.3406, allocations: 102.6 kB / 1.078 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.3406, allocations: 37.7 kB / 1.078 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3408, allocations: 338.8 kB / 1.078 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.3411, allocations: 185 kB / 1.078 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.3416, allocations: 350 kB / 1.079 GB, free: 360 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.3424, allocations: 0.5475 MB / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3424, allocations: 0 / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00268/0.3451, allocations: 0.9198 MB / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.3453, allocations: 249.1 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3453, allocations: 4 kB / 1.08 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.3478, allocations: 0.5049 MB / 1.081 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.3483, allocations: 103.8 kB / 1.081 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.3544, allocations: 3.781 MB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.3549, allocations: 51.73 kB / 1.085 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.355, allocations: 23.98 kB / 1.085 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.355, allocations: 8.062 kB / 1.085 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009201/0.356, allocations: 495.8 kB / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.356, allocations: 8 kB / 1.085 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.356, allocations: 8 kB / 1.085 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.3564, allocations: 107.8 kB / 1.085 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3565, allocations: 8 kB / 1.085 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.3568, allocations: 39.81 kB / 1.085 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.3569, allocations: 24.34 kB / 1.085 GB, free: 9.051 MB / 0.8419 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.0003266/0.3572, allocations: 277.2 kB / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3574, allocations: 31.62 kB / 1.086 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.3592, allocations: 0.6788 MB / 1.086 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3592, allocations: 4 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3592, allocations: 0 / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3593, allocations: 3.938 kB / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3603, allocations: 0.6597 MB / 1.087 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3603, allocations: 0 / 1.087 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.3605, allocations: 47.91 kB / 1.087 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.3621, allocations: 405.3 kB / 1.088 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3622, allocations: 8 kB / 1.088 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00411/0.3663, allocations: 3.486 MB / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3663, allocations: 0 / 1.091 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3681, allocations: 0.822 MB / 1.092 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.3683, allocations: 148.6 kB / 1.092 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.3684, allocations: 4 kB / 1.092 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.3688, allocations: 43.94 kB / 1.092 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.3689, allocations: 28.03 kB / 1.092 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3689, allocations: 8 kB / 1.092 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003125/0.3692, allocations: 239 kB / 1.092 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3692, allocations: 0 / 1.092 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009732/0.3702, allocations: 196 kB / 1.092 GB, free: 1.586 MB / 0.8419 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.0001765/0.3704, allocations: 120.8 kB / 1.092 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.3722, allocations: 0.9642 MB / 1.093 GB, free: 480 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3723, allocations: 0 / 1.093 GB, free: 480 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000762/0.373, allocations: 490.9 kB / 1.094 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.3737, allocations: 74.56 kB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3752, allocations: 0.9741 MB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3758, allocations: 0.8509 MB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3759, allocations: 35.42 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.3759, allocations: 0 / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of Templates: time 0.0143/0.3902, allocations: 8.367 MB / 1.104 GB, free: 5.605 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches