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.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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.45/2.45, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.84 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2247, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005295/0.23, allocations: 4.851 MB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003289/0.2334, allocations: 2.463 MB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.2337, allocations: 23.81 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.2347, allocations: 401.9 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.2355, allocations: 449.6 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.2362, allocations: 374.7 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007861/0.237, allocations: 0.9135 MB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004481/0.2374, allocations: 354.8 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.2378, allocations: 338.7 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.2382, allocations: 350.4 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.2383, allocations: 40 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.2389, allocations: 395.1 kB / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.239, allocations: 183.5 kB / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.2393, allocations: 318.2 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.2401, allocations: 0.8759 MB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2401, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.113e-06/0.2401, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.2401, allocations: 0 / 1.065 GB, free: 11.93 MB / 0.8262 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.001136/0.2413, allocations: 0.9424 MB / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2413, allocations: 8.625 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.368e-05/0.2414, allocations: 94.7 kB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2425, allocations: 195.9 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.2431, allocations: 490.4 kB / 1.067 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2431, allocations: 33.36 kB / 1.067 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.2432, allocations: 48.38 kB / 1.067 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.244, allocations: 0.8524 MB / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.244, allocations: 7.844 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.2441, allocations: 23.98 kB / 1.067 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.184e-05/0.2442, allocations: 72.89 kB / 1.068 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.2449, allocations: 0.5578 MB / 1.068 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.2484, allocations: 5.654 MB / 1.074 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.2489, allocations: 454.3 kB / 1.074 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.2492, allocations: 220.7 kB / 1.074 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2492, allocations: 12.47 kB / 1.074 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2492, allocations: 38.56 kB / 1.074 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.323e-06/0.2492, allocations: 0 / 1.074 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002115/0.2514, allocations: 1.505 MB / 1.076 GB, free: 0 / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.2514, allocations: 55.69 kB / 1.076 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.2518, allocations: 0.4911 MB / 1.076 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.2519, allocations: 29.7 kB / 1.076 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.252, allocations: 358.8 kB / 1.077 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.2521, allocations: 118.4 kB / 1.077 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.2522, allocations: 114.2 kB / 1.077 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2524, allocations: 362.8 kB / 1.077 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.2526, allocations: 193.2 kB / 1.077 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.253, allocations: 447.3 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.2537, allocations: 0.6993 MB / 1.079 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2537, allocations: 4 kB / 1.079 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001076/0.2548, allocations: 0.8018 MB / 1.079 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2548, allocations: 8 kB / 1.079 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2548, allocations: 8 kB / 1.079 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.2552, allocations: 160 kB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.2556, allocations: 127.9 kB / 1.08 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.2583, allocations: 4.34 MB / 1.084 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.2586, allocations: 39.91 kB / 1.084 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.2587, allocations: 28 kB / 1.084 GB, free: 6.918 MB / 0.8419 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.0001944/0.2589, allocations: 213.9 kB / 1.084 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.259, allocations: 55.34 kB / 1.084 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008644/0.2598, allocations: 0.597 MB / 1.085 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2598, allocations: 4 kB / 1.085 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2598, allocations: 8 kB / 1.085 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2599, allocations: 3.984 kB / 1.085 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2613, allocations: 1.262 MB / 1.086 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2613, allocations: 0 / 1.086 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.2616, allocations: 59.89 kB / 1.086 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.2619, allocations: 140.4 kB / 1.086 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.2619, allocations: 15.94 kB / 1.086 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.2645, allocations: 4.332 MB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2645, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.2653, allocations: 0.7076 MB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.2655, allocations: 164.3 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.2656, allocations: 11.98 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2658, allocations: 23.97 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.2659, allocations: 35.89 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2659, allocations: 8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002817/0.2662, allocations: 338.8 kB / 1.092 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2662, allocations: 7.938 kB / 1.092 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000497/0.2667, allocations: 140 kB / 1.092 GB, free: 14.17 MB / 0.8575 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.001033/0.2677, allocations: 1.263 MB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.2689, allocations: 1.084 MB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2689, allocations: 0 / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/0.2696, allocations: 0.7385 MB / 1.095 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.2705, allocations: 205.5 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.2755, allocations: 5.186 MB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.2758, allocations: 0.9019 MB / 1.101 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.2761, allocations: 121.3 kB / 1.101 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.2763, allocations: 195.4 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2763, allocations: 0 / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.786/2.062, allocations: 12.54 MB / 1.114 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/15.09, allocations: 5.734 kB / 1.114 GB, free: 7.559 MB / 0.8731 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches