Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99 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.00114/0.00114, 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.521/1.521, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.711/2.711, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9318, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00376/0.9356, allocations: 2.767 MB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.9386, allocations: 1.719 MB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.9388, allocations: 4 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.9389, allocations: 35.77 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.9395, allocations: 151.5 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007213/0.9402, allocations: 227.4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.9406, allocations: 231.5 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.9414, allocations: 441.2 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.9416, allocations: 115.6 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.9419, allocations: 135.5 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.942, allocations: 16 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.9423, allocations: 127.8 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.9424, allocations: 103.8 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.9425, allocations: 69.58 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.943, allocations: 353.1 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9431, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9431, allocations: 3.938 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.9431, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001095/0.9442, allocations: 0.5301 MB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.9442, allocations: 15.98 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008255/0.9451, allocations: 95.61 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.9455, allocations: 275.2 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.9455, allocations: 20.52 kB / 1.028 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.9457, allocations: 35.97 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.9463, allocations: 445.1 kB / 1.028 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.9463, allocations: 0 / 1.028 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.9464, allocations: 11.98 kB / 1.028 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.9465, allocations: 40.53 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/0.9471, allocations: 345.9 kB / 1.029 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.9496, allocations: 2.211 MB / 1.031 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.9501, allocations: 267.5 kB / 1.031 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.9501, allocations: 8.172 kB / 1.031 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.9501, allocations: 34.75 kB / 1.031 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.9502, allocations: 0 / 1.031 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001791/0.952, allocations: 1.045 MB / 1.032 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.952, allocations: 55.41 kB / 1.032 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.9523, allocations: 252.8 kB / 1.033 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.9523, allocations: 29.7 kB / 1.033 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.9525, allocations: 184 kB / 1.033 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.9525, allocations: 90.73 kB / 1.033 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.9526, allocations: 12 kB / 1.033 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9527, allocations: 334.8 kB / 1.033 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.9529, allocations: 151.9 kB / 1.033 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.9533, allocations: 249.4 kB / 1.034 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.9536, allocations: 181.3 kB / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9536, allocations: 0 / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001072/0.9546, allocations: 0.5896 MB / 1.034 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.9547, allocations: 8 kB / 1.034 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.9547, allocations: 4.312 kB / 1.034 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.9554, allocations: 192.7 kB / 1.035 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.9557, allocations: 59.89 kB / 1.035 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.9585, allocations: 2.354 MB / 1.037 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.9588, allocations: 15.98 kB / 1.037 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.9588, allocations: 15.98 kB / 1.037 GB, free: 15.89 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.959, allocations: 167.5 kB / 1.037 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.9591, allocations: 19.81 kB / 1.037 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.9596, allocations: 360.4 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.9596, allocations: 4 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9596, allocations: 3.953 kB / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9596, allocations: 112 / 1.037 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.9607, allocations: 0.8122 MB / 1.038 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9607, allocations: 0 / 1.038 GB, free: 14.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.9611, allocations: 75.88 kB / 1.038 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9611, allocations: 0 / 1.038 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.9611, allocations: 11.95 kB / 1.038 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9611, allocations: 4 kB / 1.038 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9611, allocations: 0 / 1.038 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000708/0.9619, allocations: 0.6449 MB / 1.039 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.962, allocations: 124.8 kB / 1.039 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.9621, allocations: 7.984 kB / 1.039 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.9623, allocations: 12 kB / 1.039 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.9623, allocations: 19.97 kB / 1.039 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.9623, allocations: 4 kB / 1.039 GB, free: 13.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001717/0.9625, allocations: 180.5 kB / 1.039 GB, free: 13.33 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9625, allocations: 0 / 1.039 GB, free: 13.33 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000415/0.9629, allocations: 88 kB / 1.039 GB, free: 13.25 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001715/0.9631, allocations: 111.2 kB / 1.04 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008628/0.964, allocations: 0.5143 MB / 1.04 GB, free: 12.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.964, allocations: 0 / 1.04 GB, free: 12.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.9642, allocations: 155.7 kB / 1.04 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.9646, allocations: 56.28 kB / 1.04 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.9661, allocations: 1.011 MB / 1.041 GB, free: 11.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.9665, allocations: 0.799 MB / 1.042 GB, free: 10.52 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.9668, allocations: 82.89 kB / 1.042 GB, free: 10.44 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.9668, allocations: 23.44 kB / 1.042 GB, free: 10.42 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.9668, allocations: 0 / 1.042 GB, free: 10.42 MB / 0.795 GB Notification: Performance of Templates: time 0.00735/0.9742, allocations: 3.639 MB / 1.046 GB, free: 6.801 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches