Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 191.2 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008849, allocations: 89.78 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.486e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1828, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6714/0.8542, allocations: 163.2 MB / 1.045 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.8546, allocations: 103.3 kB / 1.045 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05585/0.9105, allocations: 23.32 MB / 1.067 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.967e-06/0.9105, allocations: 0 / 1.067 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.967e-05/0.9106, allocations: 15.94 kB / 1.067 GB, free: 5.035 MB / 0.6823 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.001111/0.9117, allocations: 0.636 MB / 1.068 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9117, allocations: 8.031 kB / 1.068 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.9128, allocations: 139.3 kB / 1.068 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.9133, allocations: 325.9 kB / 1.069 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.9133, allocations: 12 kB / 1.069 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.9133, allocations: 23.94 kB / 1.069 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005884/0.9139, allocations: 383.5 kB / 1.069 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.9147, allocations: 0.5506 MB / 1.07 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.9147, allocations: 7.938 kB / 1.07 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.9148, allocations: 3.938 kB / 1.07 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.9148, allocations: 32.02 kB / 1.07 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.918, allocations: 3.365 MB / 1.073 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.9186, allocations: 356.7 kB / 1.073 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.9188, allocations: 163.3 kB / 1.073 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.9188, allocations: 8 kB / 1.073 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.9189, allocations: 38.38 kB / 1.073 GB, free: 15.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.9189, allocations: 4 kB / 1.073 GB, free: 15.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001621/0.9205, allocations: 0.6497 MB / 1.074 GB, free: 14.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.9206, allocations: 85.2 kB / 1.074 GB, free: 14.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.9208, allocations: 265.4 kB / 1.074 GB, free: 14.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.9209, allocations: 29.7 kB / 1.074 GB, free: 14.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.921, allocations: 256.4 kB / 1.075 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.9211, allocations: 90.23 kB / 1.075 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.9211, allocations: 0 / 1.075 GB, free: 14.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9212, allocations: 338.4 kB / 1.075 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.9214, allocations: 160.6 kB / 1.075 GB, free: 13.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.9217, allocations: 324.9 kB / 1.075 GB, free: 13.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.9222, allocations: 245.2 kB / 1.076 GB, free: 13.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9222, allocations: 4 kB / 1.076 GB, free: 13.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001613/0.9238, allocations: 0.7277 MB / 1.076 GB, free: 12.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007159/0.9245, allocations: 2.09 MB / 1.078 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.9245, allocations: 4 kB / 1.078 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.9257, allocations: 239.6 kB / 1.079 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.926, allocations: 103.4 kB / 1.079 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.9271, allocations: 1.259 MB / 1.08 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.9274, allocations: 31.94 kB / 1.08 GB, free: 8.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.9275, allocations: 31.11 kB / 1.08 GB, free: 8.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.9275, allocations: 4 kB / 1.08 GB, free: 8.766 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006906/0.9282, allocations: 441.8 kB / 1.081 GB, free: 8.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9282, allocations: 7.953 kB / 1.081 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.9282, allocations: 12 kB / 1.081 GB, free: 8.418 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.9286, allocations: 107.5 kB / 1.081 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.9286, allocations: 11.98 kB / 1.081 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.9289, allocations: 27.77 kB / 1.081 GB, free: 8.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.9289, allocations: 19.81 kB / 1.081 GB, free: 8.262 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.929, allocations: 125 kB / 1.081 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.9291, allocations: 31.62 kB / 1.081 GB, free: 8.105 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.9307, allocations: 0.6561 MB / 1.081 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.9308, allocations: 0 / 1.081 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9308, allocations: 7.953 kB / 1.082 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.9308, allocations: 7.984 kB / 1.082 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.9315, allocations: 0.5894 MB / 1.082 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9316, allocations: 0 / 1.082 GB, free: 7.004 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.9318, allocations: 43.28 kB / 1.082 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.9332, allocations: 412 kB / 1.083 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.9332, allocations: 7.953 kB / 1.083 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.9367, allocations: 3.335 MB / 1.086 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9367, allocations: 0 / 1.086 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.9383, allocations: 0.855 MB / 1.087 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.9385, allocations: 134.9 kB / 1.087 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.9385, allocations: 4 kB / 1.087 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.9389, allocations: 39.81 kB / 1.087 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.9389, allocations: 27.84 kB / 1.087 GB, free: 2.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.939, allocations: 7.312 kB / 1.087 GB, free: 2.281 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001719/0.9391, allocations: 199 kB / 1.087 GB, free: 2.121 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9391, allocations: 0 / 1.087 GB, free: 2.121 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007451/0.9399, allocations: 175.4 kB / 1.087 GB, free: 1.953 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.9401, allocations: 111.1 kB / 1.087 GB, free: 1.836 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.9412, allocations: 0.679 MB / 1.088 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.9412, allocations: 0 / 1.088 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.9419, allocations: 462.2 kB / 1.088 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.9423, allocations: 59.55 kB / 1.088 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.9433, allocations: 0.5135 MB / 1.089 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.9437, allocations: 0.8569 MB / 1.09 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004167/0.9441, allocations: 151.1 kB / 1.09 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.9442, allocations: 23.44 kB / 1.09 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9442, allocations: 0 / 1.09 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.009887/0.9541, allocations: 5.656 MB / 1.095 GB, free: 9.746 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches