Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008285/0.0008285, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007921/0.0007921, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8314/0.8314, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.667/1.667, allocations: 389 MB / 0.633 GB, free: 12.74 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.871e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003863/0.003882, allocations: 4.569 MB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.006054, allocations: 2.385 MB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.006227, allocations: 35.62 kB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.006888, allocations: 405.8 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.007374, allocations: 477.2 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.00775, allocations: 385.6 kB / 1.008 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.00832, allocations: 0.9486 MB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.008712, allocations: 322.4 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.009182, allocations: 490.7 kB / 1.009 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.009435, allocations: 307 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.009473, allocations: 36 kB / 1.01 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.009818, allocations: 363 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.009952, allocations: 195.3 kB / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.01009, allocations: 219.4 kB / 1.01 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.01069, allocations: 0.8955 MB / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.01069, allocations: 0 / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01069, allocations: 0 / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.0107, allocations: 0 / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008311/0.01153, allocations: 0.8857 MB / 1.012 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.01157, allocations: 12.75 kB / 1.012 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.01163, allocations: 86.7 kB / 1.012 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.01224, allocations: 220.2 kB / 1.013 GB, free: 300 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.01272, allocations: 470.6 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.01274, allocations: 33.36 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.01278, allocations: 48.36 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.01345, allocations: 0.9666 MB / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.01347, allocations: 8.125 kB / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.0135, allocations: 21.69 kB / 1.014 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/0.01355, allocations: 68.95 kB / 1.014 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.01407, allocations: 0.5694 MB / 1.015 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.01638, allocations: 4.7 MB / 1.019 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.01677, allocations: 422.8 kB / 1.02 GB, free: 8.617 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.01695, allocations: 201.3 kB / 1.02 GB, free: 8.418 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.01697, allocations: 7.984 kB / 1.02 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.01699, allocations: 38.56 kB / 1.02 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.01699, allocations: 7.938 kB / 1.02 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001353/0.01834, allocations: 1.125 MB / 1.021 GB, free: 7.207 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.01837, allocations: 59.69 kB / 1.021 GB, free: 7.137 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.01869, allocations: 0.5066 MB / 1.022 GB, free: 6.621 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.01871, allocations: 33.7 kB / 1.022 GB, free: 6.582 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.01886, allocations: 355.8 kB / 1.022 GB, free: 6.227 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.01892, allocations: 123 kB / 1.022 GB, free: 6.105 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.019, allocations: 110.2 kB / 1.022 GB, free: 5.992 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.0191, allocations: 366.7 kB / 1.022 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.01928, allocations: 197.2 kB / 1.023 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.01955, allocations: 443.3 kB / 1.023 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.02006, allocations: 0.6965 MB / 1.024 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02006, allocations: 0 / 1.024 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007515/0.02081, allocations: 0.8094 MB / 1.025 GB, free: 3.238 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.02083, allocations: 9.875 kB / 1.025 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.02083, allocations: 8 kB / 1.025 GB, free: 3.223 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.0211, allocations: 160.7 kB / 1.025 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.02133, allocations: 119.8 kB / 1.025 GB, free: 2.934 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.02316, allocations: 4.031 MB / 1.029 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.02334, allocations: 31.97 kB / 1.029 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.02336, allocations: 28 kB / 1.029 GB, free: 14.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.02352, allocations: 221.8 kB / 1.029 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.02357, allocations: 63.62 kB / 1.029 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005795/0.02415, allocations: 0.5929 MB / 1.03 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.02415, allocations: 7.938 kB / 1.03 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.02415, allocations: 7.922 kB / 1.03 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.02415, allocations: 0 / 1.03 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.0252, allocations: 1.186 MB / 1.031 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.0252, allocations: 4 kB / 1.031 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.02532, allocations: 51.95 kB / 1.031 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.02552, allocations: 144.1 kB / 1.031 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.02554, allocations: 8 kB / 1.031 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.02722, allocations: 4.019 MB / 1.035 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.02722, allocations: 4.031 kB / 1.035 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.02778, allocations: 0.7006 MB / 1.036 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.02789, allocations: 95.58 kB / 1.036 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.02792, allocations: 8 kB / 1.036 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.02805, allocations: 23.91 kB / 1.036 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.02809, allocations: 31.94 kB / 1.036 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.0281, allocations: 16.12 kB / 1.036 GB, free: 6.793 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002044/0.0283, allocations: 326.9 kB / 1.036 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.0283, allocations: 0 / 1.036 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003593/0.02866, allocations: 147.9 kB / 1.036 GB, free: 6.332 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007352/0.0294, allocations: 1.257 MB / 1.038 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007329/0.03013, allocations: 0.8591 MB / 1.038 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.03013, allocations: 0 / 1.038 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.03052, allocations: 0.5639 MB / 1.039 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.03106, allocations: 211.2 kB / 1.039 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.03476, allocations: 5.102 MB / 1.044 GB, free: 13.81 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.03494, allocations: 303.6 kB / 1.044 GB, free: 13.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.03511, allocations: 113.3 kB / 1.044 GB, free: 13.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.03527, allocations: 196.4 kB / 1.045 GB, free: 13.18 MB / 1.01 GB Notification: Performance of SimCode: time 5.91e-07/0.03527, allocations: 0 / 1.045 GB, free: 13.18 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3685/0.4037, allocations: 14.25 MB / 1.059 GB, free: 96.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.599, allocations: 3.812 kB / 1.059 GB, free: 96.74 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 11.425414986908436]