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.001395/0.001395, allocations: 108.8 kB / 16.45 MB, free: 6.391 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.0014/0.0014, allocations: 191.7 kB / 19.41 MB, free: 3.75 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.418/1.418, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.77/2.77, allocations: 476.7 MB / 0.7611 GB, free: 11.43 MB / 0.6231 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.002034/0.002034, allocations: 64.09 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.741, allocations: 168.7 MB / 1.269 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006882/0.7479, allocations: 4.908 MB / 1.274 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.7522, allocations: 2.475 MB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.7526, allocations: 19.81 kB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.7539, allocations: 417.4 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.755, allocations: 469.7 kB / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008919/0.7559, allocations: 367.2 kB / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.7571, allocations: 0.9134 MB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.7576, allocations: 292.4 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.758, allocations: 338.7 kB / 1.279 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.7585, allocations: 374.4 kB / 1.279 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.7586, allocations: 40 kB / 1.279 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007381/0.7593, allocations: 411 kB / 1.279 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.7596, allocations: 191.3 kB / 1.28 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.7599, allocations: 318.3 kB / 1.28 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.7611, allocations: 0.8869 MB / 1.281 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7611, allocations: 0 / 1.281 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7611, allocations: 4 kB / 1.281 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.7611, allocations: 0 / 1.281 GB, free: 8.809 MB / 0.9825 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.001604/0.7628, allocations: 0.9455 MB / 1.282 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.7628, allocations: 12.03 kB / 1.282 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.7629, allocations: 98.67 kB / 1.282 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.7642, allocations: 212.2 kB / 1.282 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.7651, allocations: 0.534 MB / 1.283 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.7651, allocations: 37.3 kB / 1.283 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.7652, allocations: 44.36 kB / 1.283 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.7664, allocations: 0.8484 MB / 1.283 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.7664, allocations: 7.938 kB / 1.283 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.7665, allocations: 20 kB / 1.283 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.102e-05/0.7665, allocations: 64.95 kB / 1.284 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.7674, allocations: 0.5695 MB / 1.284 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.7727, allocations: 5.655 MB / 1.29 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.7733, allocations: 414.8 kB / 1.29 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.7737, allocations: 217.2 kB / 1.29 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.7737, allocations: 0 / 1.29 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7737, allocations: 38.56 kB / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=32): time 1.262e-06/0.7737, allocations: 0 / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002666/0.7764, allocations: 1.521 MB / 1.292 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.7764, allocations: 51.69 kB / 1.292 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.777, allocations: 0.4951 MB / 1.292 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.777, allocations: 29.7 kB / 1.292 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.7773, allocations: 363.7 kB / 1.293 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.7774, allocations: 126.9 kB / 1.293 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.7775, allocations: 114.2 kB / 1.293 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.7777, allocations: 366.8 kB / 1.293 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.778, allocations: 193.2 kB / 1.293 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.7785, allocations: 443.3 kB / 1.294 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.7794, allocations: 0.6991 MB / 1.295 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7794, allocations: 0 / 1.295 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00134/0.7808, allocations: 0.8099 MB / 1.295 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.7808, allocations: 8 kB / 1.295 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7808, allocations: 8 kB / 1.295 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.7813, allocations: 160.4 kB / 1.295 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.7818, allocations: 123.8 kB / 1.296 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.7856, allocations: 4.344 MB / 1.3 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.786, allocations: 31.97 kB / 1.3 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.786, allocations: 28 kB / 1.3 GB, free: 3.742 MB / 0.9981 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.0002815/0.7863, allocations: 221.6 kB / 1.3 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.7864, allocations: 71.58 kB / 1.3 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.7875, allocations: 0.5929 MB / 1.301 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7875, allocations: 4 kB / 1.301 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7875, allocations: 4 kB / 1.301 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.7875, allocations: 0 / 1.301 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.7895, allocations: 1.262 MB / 1.302 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7895, allocations: 0 / 1.302 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.7898, allocations: 55.89 kB / 1.302 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.7902, allocations: 140.4 kB / 1.302 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.7902, allocations: 15.94 kB / 1.302 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003765/0.794, allocations: 4.332 MB / 1.306 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.794, allocations: 0 / 1.306 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.7952, allocations: 0.7163 MB / 1.307 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.7955, allocations: 168.7 kB / 1.307 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.7956, allocations: 8 kB / 1.307 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.7958, allocations: 31.91 kB / 1.307 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.7959, allocations: 39.83 kB / 1.307 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.796, allocations: 12 kB / 1.307 GB, free: 11.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000384/0.7964, allocations: 326.9 kB / 1.308 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.7964, allocations: 0 / 1.308 GB, free: 11.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006269/0.797, allocations: 148 kB / 1.308 GB, free: 10.98 MB / 1.014 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.001413/0.7984, allocations: 1.254 MB / 1.309 GB, free: 9.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8001, allocations: 1.013 MB / 1.31 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8001, allocations: 0 / 1.31 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.801, allocations: 0.73 MB / 1.311 GB, free: 7.754 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.802, allocations: 203.2 kB / 1.311 GB, free: 7.566 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.8088, allocations: 5.103 MB / 1.316 GB, free: 2.086 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.8095, allocations: 0.898 MB / 1.317 GB, free: 1.156 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.8099, allocations: 121.3 kB / 1.317 GB, free: 1.035 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.8101, allocations: 199.3 kB / 1.317 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.8101, allocations: 0 / 1.317 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04881/0.8589, allocations: 12.8 MB / 1.33 GB, free: 4.301 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.84, allocations: 8.047 kB / 1.33 GB, free: 4.293 MB / 1.029 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.848276333417743]