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.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.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.001371/0.001371, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001511/0.001512, allocations: 190.6 kB / 16.25 MB, free: 6.645 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.27 kB / 0.8986 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 157.4 MB / 1.052 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004729/0.3179, allocations: 3.309 MB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.3209, allocations: 2.01 MB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.321, allocations: 4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.3219, allocations: 267.1 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.3224, allocations: 223.1 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.323, allocations: 255.5 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.3234, allocations: 414.7 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003699/0.3238, allocations: 224.2 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.324, allocations: 171.4 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.3243, allocations: 207.3 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3243, allocations: 24 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.3247, allocations: 259.5 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3249, allocations: 123.7 kB / 1.06 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.325, allocations: 147.2 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3255, allocations: 0.491 MB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3256, allocations: 0 / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3256, allocations: 4 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3256, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 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.001033/0.3266, allocations: 0.6044 MB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3267, allocations: 12.62 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009443/0.3276, allocations: 112.4 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3279, allocations: 269.3 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.328, allocations: 24.92 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3281, allocations: 36.59 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.3288, allocations: 461 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3288, allocations: 0 / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.3289, allocations: 12 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002051/0.3291, allocations: 36.53 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3302, allocations: 365.9 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00416/0.3344, allocations: 2.222 MB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007176/0.3351, allocations: 262.4 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.3355, allocations: 172.8 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.3356, allocations: 3.938 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.3356, allocations: 38.56 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.3356, allocations: 0 / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.002955/0.3386, allocations: 1.055 MB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3387, allocations: 55.27 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.3392, allocations: 260.8 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.3392, allocations: 33.7 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3394, allocations: 180 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3395, allocations: 82.84 kB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.3398, allocations: 85.58 kB / 1.066 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.34, allocations: 330.8 kB / 1.067 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3405, allocations: 155.9 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.3411, allocations: 245.5 kB / 1.067 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3421, allocations: 414.8 kB / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3421, allocations: 0 / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002109/0.3443, allocations: 0.6009 MB / 1.068 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3443, allocations: 8 kB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3443, allocations: 4 kB / 1.068 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.3455, allocations: 189 kB / 1.068 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.3461, allocations: 67.89 kB / 1.068 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004786/0.3509, allocations: 2.497 MB / 1.071 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.3516, allocations: 23.97 kB / 1.071 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.3517, allocations: 16 kB / 1.071 GB, free: 5.086 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.352, allocations: 165.8 kB / 1.071 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3521, allocations: 23.66 kB / 1.071 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.3531, allocations: 350.3 kB / 1.071 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3531, allocations: 7.984 kB / 1.071 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3531, allocations: 112 / 1.071 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.3531, allocations: 7.922 kB / 1.071 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.3549, allocations: 0.8178 MB / 1.072 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3549, allocations: 0 / 1.072 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.3557, allocations: 75.94 kB / 1.072 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3557, allocations: 0 / 1.072 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.3557, allocations: 12 kB / 1.072 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.3557, allocations: 4 kB / 1.072 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3558, allocations: 3.938 kB / 1.072 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.3571, allocations: 0.6181 MB / 1.073 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.3573, allocations: 124.8 kB / 1.073 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.3574, allocations: 8 kB / 1.073 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.3579, allocations: 19.97 kB / 1.073 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.3579, allocations: 11.92 kB / 1.073 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.358, allocations: 12 kB / 1.073 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003887/0.3584, allocations: 188.5 kB / 1.073 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3584, allocations: 4 kB / 1.073 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007919/0.3592, allocations: 84 kB / 1.073 GB, free: 2.457 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002378/0.3595, allocations: 111.1 kB / 1.073 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.3612, allocations: 0.5728 MB / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3612, allocations: 0 / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.3616, allocations: 154 kB / 1.074 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.3624, allocations: 56.64 kB / 1.074 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.3649, allocations: 0.9462 MB / 1.075 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.3654, allocations: 0.7911 MB / 1.076 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004535/0.3659, allocations: 78.91 kB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3661, allocations: 27.42 kB / 1.076 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.3661, allocations: 0 / 1.076 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.01353/0.3796, allocations: 4.12 MB / 1.08 GB, free: 11.56 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches