Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 112.8 kB / 17.08 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002464/0.002464, allocations: 194.2 kB / 20.03 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267/1.269, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005684/1.274, allocations: 3.764 MB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003185/1.278, allocations: 1.79 MB / 1.268 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/1.278, allocations: 25.34 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009623/1.279, allocations: 263.9 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008079/1.28, allocations: 293.2 kB / 1.269 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/1.28, allocations: 249.9 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009871/1.281, allocations: 0.6059 MB / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/1.282, allocations: 254.2 kB / 1.27 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005294/1.283, allocations: 236.2 kB / 1.27 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/1.283, allocations: 231.9 kB / 1.27 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/1.283, allocations: 26.41 kB / 1.27 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/1.284, allocations: 283.4 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/1.284, allocations: 118.5 kB / 1.27 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002351/1.284, allocations: 209.7 kB / 1.271 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009024/1.285, allocations: 0.5938 MB / 1.271 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.285, allocations: 8.688 kB / 1.271 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.347e-06/1.285, allocations: 3.891 kB / 1.271 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.577e-06/1.285, allocations: 0 / 1.271 GB, free: 2.629 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001275/1.286, allocations: 0.734 MB / 1.272 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.286, allocations: 14.06 kB / 1.272 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/1.287, allocations: 135.8 kB / 1.272 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/1.288, allocations: 411.9 kB / 1.273 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.288, allocations: 24.89 kB / 1.273 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/1.288, allocations: 27.38 kB / 1.273 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009065/1.289, allocations: 0.5566 MB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.289, allocations: 1.688 kB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/1.289, allocations: 16.83 kB / 1.273 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.154e-05/1.289, allocations: 40.62 kB / 1.273 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000805/1.29, allocations: 415.9 kB / 1.274 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/1.293, allocations: 3.327 MB / 1.277 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/1.294, allocations: 338.4 kB / 1.277 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/1.294, allocations: 179.4 kB / 1.277 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/1.295, allocations: 3.469 kB / 1.277 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.295, allocations: 43.09 kB / 1.277 GB, free: 13.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/1.295, allocations: 4 kB / 1.277 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.002446/1.297, allocations: 1.065 MB / 1.278 GB, free: 13.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/1.297, allocations: 58.11 kB / 1.278 GB, free: 13.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/1.298, allocations: 343.1 kB / 1.279 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/1.298, allocations: 32.02 kB / 1.279 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/1.298, allocations: 253.3 kB / 1.279 GB, free: 12.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.298, allocations: 95.92 kB / 1.279 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.298, allocations: 79.25 kB / 1.279 GB, free: 12.72 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.298, allocations: 346.8 kB / 1.28 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/1.299, allocations: 154.3 kB / 1.28 GB, free: 12.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/1.299, allocations: 285.4 kB / 1.28 GB, free: 12.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/1.3, allocations: 489.2 kB / 1.28 GB, free: 11.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.3, allocations: 1.094 kB / 1.28 GB, free: 11.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00108/1.301, allocations: 0.5575 MB / 1.281 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.301, allocations: 8.281 kB / 1.281 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.301, allocations: 4.156 kB / 1.281 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/1.302, allocations: 92.83 kB / 1.281 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/1.302, allocations: 86.81 kB / 1.281 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.302, allocations: 12.52 kB / 1.281 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/1.302, allocations: 33.3 kB / 1.281 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/1.302, allocations: 14.5 kB / 1.281 GB, free: 11.48 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002448/1.302, allocations: 174.1 kB / 1.281 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/1.303, allocations: 46.64 kB / 1.281 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009857/1.304, allocations: 468.2 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.304, allocations: 3.562 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.304, allocations: 4.469 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/1.304, allocations: 1.078 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.305, allocations: 0.9612 MB / 1.283 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.305, allocations: 1.094 kB / 1.283 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/1.306, allocations: 46.39 kB / 1.283 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/1.306, allocations: 94.8 kB / 1.283 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.306, allocations: 7.109 kB / 1.283 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.306, allocations: 1.406 kB / 1.283 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.306, allocations: 2.375 kB / 1.283 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/1.307, allocations: 0.5473 MB / 1.284 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/1.307, allocations: 139.8 kB / 1.284 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/1.307, allocations: 7.062 kB / 1.284 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/1.307, allocations: 17.73 kB / 1.284 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/1.308, allocations: 38.47 kB / 1.284 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/1.308, allocations: 9.625 kB / 1.284 GB, free: 9.996 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003289/1.308, allocations: 239.3 kB / 1.284 GB, free: 9.867 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.308, allocations: 0 / 1.284 GB, free: 9.867 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005033/1.308, allocations: 86.69 kB / 1.284 GB, free: 9.859 MB / 1.014 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/1.309, allocations: 101.4 kB / 1.284 GB, free: 9.766 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001125/1.31, allocations: 0.6294 MB / 1.285 GB, free: 9.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.31, allocations: 0.5312 kB / 1.285 GB, free: 9.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/1.31, allocations: 442.1 kB / 1.285 GB, free: 8.973 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/1.311, allocations: 130.1 kB / 1.285 GB, free: 8.926 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/1.313, allocations: 0.7737 MB / 1.286 GB, free: 8.465 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/1.313, allocations: 0.8269 MB / 1.287 GB, free: 7.754 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/1.313, allocations: 32.41 kB / 1.287 GB, free: 7.75 MB / 1.014 GB Notification: Performance of SimCode: time 2e-07/1.313, allocations: 0 / 1.287 GB, free: 7.75 MB / 1.014 GB Notification: Performance of Templates: time 0.01929/1.333, allocations: 9.469 MB / 1.296 GB, free: 7.039 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.893777759047225]