Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001625/0.001625, allocations: 112.9 kB / 16.41 MB, free: 6.449 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.001833/0.001833, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.438/1.438, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7491 GB, free: 3.023 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 1.073 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8627/0.8648, allocations: 159.1 MB / 1.229 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006847/0.8717, allocations: 4.861 MB / 1.233 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.8761, allocations: 2.451 MB / 1.236 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000413/0.8765, allocations: 23.81 kB / 1.236 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.8779, allocations: 401.9 kB / 1.236 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.879, allocations: 445.6 kB / 1.237 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.8799, allocations: 378.1 kB / 1.237 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.8811, allocations: 0.9096 MB / 1.238 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005992/0.8817, allocations: 352.3 kB / 1.238 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.8822, allocations: 338.6 kB / 1.239 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.8827, allocations: 346.5 kB / 1.239 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.8828, allocations: 36 kB / 1.239 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007831/0.8836, allocations: 403.1 kB / 1.239 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.8838, allocations: 187.4 kB / 1.239 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.8842, allocations: 318.2 kB / 1.24 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.8854, allocations: 0.8947 MB / 1.241 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8855, allocations: 0 / 1.241 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.28e-06/0.8855, allocations: 0 / 1.241 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8855, allocations: 3.938 kB / 1.241 GB, free: 8.48 MB / 0.9512 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.001637/0.8871, allocations: 0.9495 MB / 1.242 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.8872, allocations: 12.03 kB / 1.242 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.8873, allocations: 90.69 kB / 1.242 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.8886, allocations: 216.1 kB / 1.242 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.8895, allocations: 0.5339 MB / 1.242 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.8896, allocations: 41.36 kB / 1.242 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.8897, allocations: 44.36 kB / 1.242 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.8909, allocations: 0.8446 MB / 1.243 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.8909, allocations: 7.938 kB / 1.243 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.891, allocations: 20 kB / 1.243 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.8911, allocations: 64.95 kB / 1.243 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/0.892, allocations: 0.5656 MB / 1.244 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.8973, allocations: 5.651 MB / 1.249 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.8981, allocations: 450.8 kB / 1.25 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.8985, allocations: 229.2 kB / 1.25 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.8985, allocations: 8.516 kB / 1.25 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.8985, allocations: 42.5 kB / 1.25 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 2.975e-06/0.8985, allocations: 0 / 1.25 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002925/0.9015, allocations: 1.516 MB / 1.252 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.9015, allocations: 59.62 kB / 1.252 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.9021, allocations: 0.4911 MB / 1.252 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.9022, allocations: 33.7 kB / 1.252 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.9025, allocations: 355.8 kB / 1.253 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.9026, allocations: 130.9 kB / 1.253 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.9028, allocations: 110.2 kB / 1.253 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.903, allocations: 362.8 kB / 1.253 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.9033, allocations: 201.2 kB / 1.253 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.9039, allocations: 447.3 kB / 1.254 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.9049, allocations: 0.6835 MB / 1.254 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.9049, allocations: 4 kB / 1.254 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001708/0.9066, allocations: 0.818 MB / 1.255 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.9066, allocations: 8 kB / 1.255 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.9067, allocations: 8 kB / 1.255 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/0.9073, allocations: 148.1 kB / 1.255 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.9078, allocations: 127.7 kB / 1.255 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/0.9122, allocations: 4.349 MB / 1.26 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.9129, allocations: 31.97 kB / 1.26 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.913, allocations: 28 kB / 1.26 GB, free: 3.367 MB / 0.9669 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.0004399/0.9135, allocations: 225.5 kB / 1.26 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.9136, allocations: 67.58 kB / 1.26 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.9148, allocations: 0.5929 MB / 1.261 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9149, allocations: 4 kB / 1.261 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9149, allocations: 0 / 1.261 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.9149, allocations: 0 / 1.261 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.9169, allocations: 1.261 MB / 1.262 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.917, allocations: 7.984 kB / 1.262 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.9173, allocations: 56.11 kB / 1.262 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.9177, allocations: 140.1 kB / 1.262 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.9177, allocations: 11.94 kB / 1.262 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003756/0.9215, allocations: 4.333 MB / 1.266 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9215, allocations: 4.031 kB / 1.266 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.9227, allocations: 0.7202 MB / 1.267 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.923, allocations: 176.6 kB / 1.267 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.9231, allocations: 8 kB / 1.267 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.9234, allocations: 19.97 kB / 1.267 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.9235, allocations: 39.84 kB / 1.267 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.9235, allocations: 8 kB / 1.267 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004095/0.9239, allocations: 334.8 kB / 1.268 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9239, allocations: 0 / 1.268 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006644/0.9246, allocations: 140 kB / 1.268 GB, free: 10.61 MB / 0.9825 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.001498/0.9261, allocations: 1.265 MB / 1.269 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.9277, allocations: 1.044 MB / 1.27 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9277, allocations: 0 / 1.27 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.9287, allocations: 0.7381 MB / 1.271 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.9298, allocations: 204.4 kB / 1.271 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.9373, allocations: 5.119 MB / 1.276 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.938, allocations: 0.898 MB / 1.277 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004847/0.9385, allocations: 125.3 kB / 1.277 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.9389, allocations: 191.4 kB / 1.277 GB, free: 412 kB / 0.9825 GB Notification: Performance of SimCode: time 1.093e-06/0.9389, allocations: 0 / 1.277 GB, free: 412 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06075/0.9996, allocations: 12.71 MB / 1.289 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.82, allocations: 3.781 kB / 1.289 GB, free: 3.945 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.85978709999472]